aboutsummaryrefslogtreecommitdiffstats
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.rb7
1 files changed, 7 insertions, 0 deletions
diff --git a/lib/rubygems/gem_open_uri.rb b/lib/rubygems/gem_open_uri.rb
new file mode 100644
index 0000000000..6e35413b37
--- /dev/null
+++ b/lib/rubygems/gem_open_uri.rb
@@ -0,0 +1,7 @@
+#!/usr/bin/env ruby
+
+if RUBY_VERSION < "1.9"
+ require 'rubygems/open-uri'
+else
+ require 'open-uri'
+end