1
0
mirror of https://github.com/dcarrillo/prezto.git synced 2024-12-22 19:48:00 +00:00

Do not assume a specific Ruby version.

This commit is contained in:
Sorin Ionescu 2011-12-28 16:48:25 -05:00
parent fadea4fe43
commit b0d47546fe

View File

@ -1,6 +1,6 @@
# Install local gems according to Mac OS X conventions.
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)
# Set environment variables for launchd processes.