Permalink
Browse files

requiring rubygems version 1.1.1

  • Loading branch information...
1 parent 459e581 commit c7acfbb25d58c6cba85b819abdcec13470360c76 @dfl dfl committed with jeremy Jul 9, 2008
Showing with 4 additions and 4 deletions.
  1. +4 −4 railties/environments/boot.rb
View
8 railties/environments/boot.rb
@@ -82,14 +82,14 @@ def gem_version
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

0 comments on commit c7acfbb

Please sign in to comment.