mirror of
https://github.com/dcarrillo/prezto.git
synced 2024-12-23 12:36:47 +00:00
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:
parent
06b989ebbb
commit
de61ae0663
@ -21,9 +21,6 @@ else
|
|||||||
if [[ "$OSTYPE" == darwin* ]]; then
|
if [[ "$OSTYPE" == darwin* ]]; then
|
||||||
export GEM_HOME="$HOME/Library/Ruby/Gems/1.8"
|
export GEM_HOME="$HOME/Library/Ruby/Gems/1.8"
|
||||||
path=("$GEM_HOME/bin" $path)
|
path=("$GEM_HOME/bin" $path)
|
||||||
|
|
||||||
# Set environment variables for launchd processes.
|
|
||||||
launchctl setenv GEM_HOME "$GEM_HOME" &!
|
|
||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user