1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00
ruby--ruby/bin/gem
Akinori MUSHA 388c4e1076 Make Gem::SystemExitException properly exit with a given code
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.
2022-07-22 12:06:05 +09:00

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