diff --git a/plugins/ruby/init.zsh b/plugins/ruby/init.zsh index 83b8b0a..d2ad9d0 100644 --- a/plugins/ruby/init.zsh +++ b/plugins/ruby/init.zsh @@ -7,7 +7,7 @@ # Install local gems according to Mac OS X conventions. if [[ "$OSTYPE" == darwin* ]]; then - export GEM_HOME="$HOME/Library/Ruby/Gems/${$(ruby --version)[6,8]}" + export GEM_HOME=$HOME/Library/Ruby/Gems/1.8 path=("$GEM_HOME/bin" $path) # Set environment variables for launchd processes.