diff options
author | David Lowenfels <david@internautdesign.com> | 2008-07-08 18:34:20 -0700 |
---|---|---|
committer | Jeremy Kemper <jeremy@bitsweat.net> | 2008-07-15 16:28:41 -0700 |
commit | c7acfbb25d58c6cba85b819abdcec13470360c76 (patch) | |
tree | 0ec5b0c283b95897b1933d77c932cb6fcfd92e0a /railties/environments | |
parent | 459e5817a513b95741b77af26771a6252a13d01f (diff) | |
download | rails-c7acfbb25d58c6cba85b819abdcec13470360c76.tar.gz rails-c7acfbb25d58c6cba85b819abdcec13470360c76.tar.bz2 rails-c7acfbb25d58c6cba85b819abdcec13470360c76.zip |
requiring rubygems version 1.1.1
Diffstat (limited to 'railties/environments')
-rw-r--r-- | railties/environments/boot.rb | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/railties/environments/boot.rb b/railties/environments/boot.rb index cd21fb9eab..6a30b54973 100644 --- a/railties/environments/boot.rb +++ b/railties/environments/boot.rb @@ -82,14 +82,14 @@ module Rails def load_rubygems require 'rubygems' - - unless rubygems_version >= '0.9.4' - $stderr.puts %(Rails requires RubyGems >= 0.9.4 (you have #{rubygems_version}). Please `gem update --system` and try again.) + min_version = '1.1.1' + unless rubygems_version >= min_version + $stderr.puts %Q(Rails requires RubyGems >= #{min_version} (you have #{rubygems_version}). Please `gem update --system` and try again.) exit 1 end rescue LoadError - $stderr.puts %(Rails requires RubyGems >= 0.9.4. Please install RubyGems and try again: http://rubygems.rubyforge.org) + $stderr.puts %Q(Rails requires RubyGems >= #{min_version}. Please install RubyGems and try again: http://rubygems.rubyforge.org) exit 1 end |