From de61ae06639434140623d4e6e7e864a8dcb1054c Mon Sep 17 00:00:00 2001 From: Sorin Ionescu Date: Thu, 9 Feb 2012 14:19:30 -0500 Subject: [PATCH] Do not export GEM_HOME in launchd. Exporting GEM_HOME in launchd conflicts with RVM and rbenv. There are currently no known GUI programs that need it. --- plugins/ruby/init.zsh | 3 --- 1 file changed, 3 deletions(-) diff --git a/plugins/ruby/init.zsh b/plugins/ruby/init.zsh index 7f09e518..0ddc403f 100644 --- a/plugins/ruby/init.zsh +++ b/plugins/ruby/init.zsh @@ -21,9 +21,6 @@ else if [[ "$OSTYPE" == darwin* ]]; then export GEM_HOME="$HOME/Library/Ruby/Gems/1.8" path=("$GEM_HOME/bin" $path) - - # Set environment variables for launchd processes. - launchctl setenv GEM_HOME "$GEM_HOME" &! fi fi