Am 14.01.2008 um 23:19 schrieb steffen1969:
> thanks for the hint to update the path. I haven't found an .emacs file
> where I could add (add-to-list 'exec-path "/usr/local/bin").
I've seen
(push "/usr/local/bin" exec-path)
> But it
> let me to http://wiki.rubyonrails.org/rails/pages/
> HowToUseEmacsWithRails.
> Base on this page, I added:
>
> <key>PATH</key>
> <string>/usr/local/bin:sbin:/bin:/usr/bin</string>
>
> into ~/.MacOSX/environment.plist which solved my problem.
Yes, this is the method I also recommend. Could be I am the only one ...
This approach might fail in some circumstances: when, for example in
Terminal, bash or tcsh use their own setup of PATH and other
variables. Since the dot RC files are executed some time after the
Terminal.app application has launched and its internal shell
interpreter is started, Terminal's original and correct settings can
be overwritten with wrong values. So it's useful, maybe even
recommended, to also use lines like
export MANPATH=$(defaults read "${HOME}/.MacOSX/environment" MANPATH)
in ~/.bashrc or ~/.bash_profile etc., which also tells that more
environment variables (INFOPATH for example, LANG, LC_CTYPE) can be
set in this single and central instance.
--
Greetings
Pete
Encryption, n.: A powerful algorithmic encoding technique
employed in the creation of computer manuals.
--~--~---------~--~----~------------~-------~--~----~
"Carbon Emacs" group mailing list.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/carbon-emacs?hl=en
-~----------~----~----~----~------~----~------~--~---