mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00

The cause was in how Gem::SystemExitException initializes itself. It didn't pass an exit code to the super method. See the document of SystemExit.new() for details.
13 lines
254 B
Ruby
Executable file
13 lines
254 B
Ruby
Executable file
#!/usr/bin/env ruby
|
|
#--
|
|
# Copyright 2006 by Chad Fowler, Rich Kilmer, Jim Weirich and others.
|
|
# All rights reserved.
|
|
# See LICENSE.txt for permissions.
|
|
#++
|
|
|
|
require 'rubygems'
|
|
require 'rubygems/gem_runner'
|
|
|
|
args = ARGV.clone
|
|
|
|
Gem::GemRunner.new.run args
|