[Rubygems-developers] Is it a bug ? line 143 of lib/rubygems/gem_commands.rb

Antony Lesuisse spam-debian at udev.org
Thu Apr 20 22:28:44 EDT 2006


Shouldn't it be GEM_HOME ?

TIA

--- rubygems-0.8.11.orig/lib/rubygems/gem_commands.rb 

+++ rubygems-0.8.11/lib/rubygems/gem_commands.rb 

@@ -143,7 +143,9 @@ 

      end 

 

      def execute 

-      ENV['GEM_PATH'] = options[:install_dir] 

+      # bug ? 

+      # ENV['GEM_PATH'] = options[:install_dir] 

+      ENV['GEM_HOME'] = options[:install_dir] 

        # TODO: If a dependency isn't met, first check to see if it's in 

        # the install list 

        if(options[:args].empty?) 




More information about the Rubygems-developers mailing list