From 33ee2a0bd4653010f595027db8ace0c3f0d93ff6 Mon Sep 17 00:00:00 2001 From: Sorin Ionescu Date: Sat, 4 Feb 2012 00:08:27 -0500 Subject: [PATCH] Revert "Do not assume a specific Ruby version." This reverts commit b0d47546fe920ac6a91c31078f399f947a36a9d9. It is not feasible to use multiple Ruby versions without RVM. --- plugins/ruby/init.zsh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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.