Browse Source

Do not assume a specific Ruby version.

master
Sorin Ionescu 13 years ago
parent
commit
b0d47546fe
  1. 2
      plugins/ruby/init.zsh

2
plugins/ruby/init.zsh

@ -1,6 +1,6 @@ @@ -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.

Loading…
Cancel
Save