bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#18058: 24.3.92; OS X Emacs launcher script fail under 10.6 (or rathe


From: Anders Lindgren
Subject: bug#18058: 24.3.92; OS X Emacs launcher script fail under 10.6 (or rather Ruby 1.8.7)
Date: Sat, 19 Jul 2014 22:28:45 +0200

Hi!

The latest Emacs pretest (24.3.92) contains a Ruby wrapper script for launching one of a number of Emacs binaries.

Unfortunately, the Ruby script doesn't work for Ruby 1.8.7, which is the Ruby installed on OS X 10.6.

There are two problems:
     * Ruby 1.8.7 doesn't allow continued lines on the form (lines 12-15):
        ... { ...}
           .select { |...| ...}
           .last
       Joining them to a single long line will fix the problem. However, it will render the script unreadable -- I leave it to you to find a solution that both work and is readable.

    * There is no File.absolute_path (see line 21). There is one File.expand_path, using it seems to work, but I haven't checked if there are any subtle differences between them that matter.

In addition, when running Emacs in the terminal the following warning is emitted:
    Warning: arch-dependent data dir `/Users/build/workspace/Emacs-Multi-Build/label/snow-leopard/emacs-source/nextstep/Emacs.app/Contents/MacOS/libexec/': No such file or directory

Sincerely,
    Anders Lindgren


reply via email to

[Prev in Thread] Current Thread [Next in Thread]