diff options
author | SHIBATA Hiroshi <hsbt@ruby-lang.org> | 2019-01-04 14:26:43 +0900 |
---|---|---|
committer | Hiroshi SHIBATA <hsbt@ruby-lang.org> | 2022-07-22 12:06:05 +0900 |
commit | b4876c8e5f3753c15eb43ee2872b7c0a914456ff (patch) | |
tree | fab8bfdd435278f7556707705d59d006d90cc40d /bin | |
parent | 1ed7ab29b3149f7f6b85ce89aa91d95cd12345b6 (diff) | |
download | ruby-b4876c8e5f3753c15eb43ee2872b7c0a914456ff.tar.gz |
Removed needless condition for old versions of Ruby.
Diffstat (limited to 'bin')
-rwxr-xr-x | bin/gem | 7 |
1 files changed, 1 insertions, 6 deletions
@@ -1,3 +1,4 @@ + #!/usr/bin/env ruby #-- # Copyright 2006 by Chad Fowler, Rich Kilmer, Jim Weirich and others. @@ -9,12 +10,6 @@ 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 - abort "Expected Ruby version #{required_version}, is #{Gem.ruby_version}" -end - args = ARGV.clone begin |