aboutsummaryrefslogtreecommitdiffstats
path: root/lib/rubygems/commands/install_command.rb
diff options
context:
space:
mode:
Diffstat (limited to 'lib/rubygems/commands/install_command.rb')
-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: