1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

Fix version check

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14519 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
drbrain 2007-12-23 09:07:17 +00:00
parent 057d7369f9
commit 6c6f996d71
2 changed files with 7 additions and 3 deletions

View file

@ -1,3 +1,7 @@
Sun Dec 23 18:02:52 2007 Eric Hodel <drbrain@segment7.net>
* lib/rubygems/gem_open_uri.rb: Fix version check.
Sun Dec 23 17:24:48 2007 Tanaka Akira <akr@fsij.org>
* encoding.c (rb_enc_init): add eucJP as an alias of EUC-JP.

View file

@ -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