aboutsummaryrefslogtreecommitdiffstats
path: root/lib/rubygems/commands
diff options
context:
space:
mode:
authordrbrain <drbrain@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2013-10-18 21:56:18 +0000
committerdrbrain <drbrain@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2013-10-18 21:56:18 +0000
commit08aa6d59a2bc35556125d373f90f5286440c6f84 (patch)
tree532694033c6b495c4355b9f35a1a8b60497ad103 /lib/rubygems/commands
parent9f9b47671052072a305275b99d7e132cf17fbc79 (diff)
downloadruby-08aa6d59a2bc35556125d373f90f5286440c6f84.tar.gz
* lib/rubygems: Update to RubyGems master 0a3814b. Changes:
Fixed extension directory in Gem::Specification#require_paths. Allow installation of gems when $HOME is nonexistent or unwritable. Use proper API in InstallCommand. Improve support for path option in gem dependency files. Remove warnings. * test/rubygems: ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@43357 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'lib/rubygems/commands')
-rw-r--r--lib/rubygems/commands/install_command.rb6
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/rubygems/commands/install_command.rb b/lib/rubygems/commands/install_command.rb
index 0bb40ed633..1f3210ff5d 100644
--- a/lib/rubygems/commands/install_command.rb
+++ b/lib/rubygems/commands/install_command.rb
@@ -135,7 +135,7 @@ to write the specification by hand. For example:
def execute
if gf = options[:gemdeps] then
install_from_gemdeps gf
- return
+ return # not reached
end
@installed_specs = []
@@ -151,7 +151,7 @@ to write the specification by hand. For example:
show_installed
- raise Gem::SystemExitException, exit_code
+ terminate_interaction exit_code
end
def install_from_gemdeps gf # :nodoc:
@@ -173,7 +173,7 @@ to write the specification by hand. For example:
@installed_specs = specs
- raise Gem::SystemExitException, 0
+ terminate_interaction
end
def install_gem name, version # :nodoc: