summaryrefslogtreecommitdiff
path: root/lib/rubygems/gem_open_uri.rb
diff options
context:
space:
mode:
Diffstat (limited to 'lib/rubygems/gem_open_uri.rb')
-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 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