mirror of
https://github.com/dcarrillo/prezto.git
synced 2024-12-23 09:08:00 +00:00
Do not assume a specific Ruby version.
This commit is contained in:
parent
fadea4fe43
commit
b0d47546fe
@ -1,6 +1,6 @@
|
|||||||
# Install local gems according to Mac OS X conventions.
|
# Install local gems according to Mac OS X conventions.
|
||||||
if [[ "$OSTYPE" == darwin* ]]; then
|
if [[ "$OSTYPE" == darwin* ]]; then
|
||||||
export GEM_HOME=$HOME/Library/Ruby/Gems/1.8
|
export GEM_HOME="$HOME/Library/Ruby/Gems/${$(ruby --version)[6,8]}"
|
||||||
path=("$GEM_HOME/bin" $path)
|
path=("$GEM_HOME/bin" $path)
|
||||||
|
|
||||||
# Set environment variables for launchd processes.
|
# Set environment variables for launchd processes.
|
||||||
|
Loading…
Reference in New Issue
Block a user