lib/rvm/environment/gemset.rb in rvm-1.11.3.4 vs lib/rvm/environment/gemset.rb in rvm-1.11.3.5

- old
+ new

@@ -81,10 +81,10 @@ # processes gem home and path with the one requested. def gemset_use(gemset, options = {}) replace_env = options.delete(:replace_env) result = rvm(:gemset, :use, gemset, options) if result.successful? - gemset_name = self.class.identifier_to_gemset_name(result[:rvm_env_string]) + gemset_name = self.class.identifier_to_gemset_name(result[:GEM_HOME] || result[:rvm_env_string]) @environment_name = self.class.environment_with_gemset(@environment_name, gemset_name) @expanded_name = nil self.class.reset_current! use_env_from_result! result if replace_env true