all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* bug#18058: 24.3.92; OS X Emacs launcher script fail under 10.6 (or rather Ruby 1.8.7)
@ 2014-07-19 20:28 Anders Lindgren
  2014-07-19 23:31 ` Glenn Morris
  0 siblings, 1 reply; 9+ messages in thread
From: Anders Lindgren @ 2014-07-19 20:28 UTC (permalink / raw)
  To: 18058

[-- Attachment #1: Type: text/plain, Size: 1062 bytes --]

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

[-- Attachment #2: Type: text/html, Size: 1367 bytes --]

^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2014-07-20 15:19 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-07-19 20:28 bug#18058: 24.3.92; OS X Emacs launcher script fail under 10.6 (or rather Ruby 1.8.7) Anders Lindgren
2014-07-19 23:31 ` Glenn Morris
2014-07-20  7:07   ` Anders Lindgren
2014-07-20  8:16     ` Glenn Morris
2014-07-20 12:45       ` Anders Lindgren
2014-07-20 13:04         ` Jan Djärv
2014-07-20 13:44           ` Anders Lindgren
2014-07-20 15:19             ` Jan Djärv
2014-07-20  9:18     ` Jan Djärv

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.