Do not export GEM_HOME in launchd.

Exporting GEM_HOME in launchd conflicts with RVM and rbenv.
There are currently no known GUI programs that need it.
This commit is contained in:
Sorin Ionescu 2012-02-09 14:19:30 -05:00
parent 06b989ebbb
commit de61ae0663

View file

@ -21,9 +21,6 @@ else
if [[ "$OSTYPE" == darwin* ]]; then
export GEM_HOME="$HOME/Library/Ruby/Gems/1.8"
path=("$GEM_HOME/bin" $path)
# Set environment variables for launchd processes.
launchctl setenv GEM_HOME "$GEM_HOME" &!
fi
fi