diff options
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 |