unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Anders Lindgren <andlind@gmail.com>
To: 18058@debbugs.gnu.org
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	[thread overview]
Message-ID: <CABr8ebbZ7AbbCwO_AjCR1ex+cL4DUa58+RQa0QQ1nX-b3P-9hg@mail.gmail.com> (raw)

[-- 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 --]

             reply	other threads:[~2014-07-19 20:28 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-07-19 20:28 Anders Lindgren [this message]
2014-07-19 23:31 ` bug#18058: 24.3.92; OS X Emacs launcher script fail under 10.6 (or rather Ruby 1.8.7) 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

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=CABr8ebbZ7AbbCwO_AjCR1ex+cL4DUa58+RQa0QQ1nX-b3P-9hg@mail.gmail.com \
    --to=andlind@gmail.com \
    --cc=18058@debbugs.gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

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

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).