mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
030c41bf55
(when it referred to the general concept and not a path), single-spacing between sentences, and a few other small issues.
25 lines
546 B
Ruby
Executable file
25 lines
546 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'
|
|
require 'rubygems/exceptions'
|
|
|
|
required_version = Gem::Requirement.new ">= 1.8.7"
|
|
|
|
unless required_version.satisfied_by? Gem.ruby_version then
|
|
abort "Expected Ruby version #{required_version}, is #{Gem.ruby_version}"
|
|
end
|
|
|
|
args = ARGV.clone
|
|
|
|
begin
|
|
Gem::GemRunner.new.run args
|
|
rescue Gem::SystemExitException => e
|
|
exit e.exit_code
|
|
end
|
|
|