diff options
author | drbrain <drbrain@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2007-12-23 09:07:17 +0000 |
---|---|---|
committer | drbrain <drbrain@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2007-12-23 09:07:17 +0000 |
commit | 6c6f996d71d45a16adc50e768034dbb3971a2586 (patch) | |
tree | 49265bc600f06d675d22e9850e4107b1ba4b8249 /lib/rubygems | |
parent | 057d7369f97d3e0cd31c996ccb9cf18ef941f3ff (diff) | |
download | ruby-6c6f996d71d45a16adc50e768034dbb3971a2586.tar.gz |
Fix version check
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14519 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'lib/rubygems')
-rw-r--r-- | lib/rubygems/gem_open_uri.rb | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/rubygems/gem_open_uri.rb b/lib/rubygems/gem_open_uri.rb index 6e35413b37..597930dc50 100644 --- a/lib/rubygems/gem_open_uri.rb +++ b/lib/rubygems/gem_open_uri.rb @@ -1,7 +1,7 @@ #!/usr/bin/env ruby -if RUBY_VERSION < "1.9" - require 'rubygems/open-uri' -else +if RUBY_VERSION > '1.9' then require 'open-uri' +else + require 'rubygems/open-uri' end |