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.
|
||||||
|
Reference in New Issue
Block a user