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