Skip to content

Commit

Permalink
Do not assume a specific Ruby version.
Browse files Browse the repository at this point in the history
  • Loading branch information
sorin-ionescu committed Jan 24, 2012
1 parent fadea4f commit b0d4754
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion plugins/ruby/init.zsh
@@ -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.
Expand Down

0 comments on commit b0d4754

Please sign in to comment.