summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authordrbrain <drbrain@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2007-12-23 09:07:17 +0000
committerdrbrain <drbrain@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2007-12-23 09:07:17 +0000
commit2c299a1c7d05319659565586dbb9d47ea75b082e (patch)
tree49265bc600f06d675d22e9850e4107b1ba4b8249 /lib
parent6d1d748073b2eb00cdda2eaf8e5163d7629f395f (diff)
downloadruby-2c299a1c7d05319659565586dbb9d47ea75b082e.tar.gz
ruby-2c299a1c7d05319659565586dbb9d47ea75b082e.tar.xz
ruby-2c299a1c7d05319659565586dbb9d47ea75b082e.zip
Fix version check
git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@14519 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'lib')
-rw-r--r--lib/rubygems/gem_open_uri.rb6
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/rubygems/gem_open_uri.rb b/lib/rubygems/gem_open_uri.rb
index 6e35413b3..597930dc5 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