Skip to content
Browse files

Depend on rubygems 1.3.2

Also move the min_version definition up a line so it's present in the rescue block down below.
  • Loading branch information...
1 parent 5632b36 commit df745ed80556692f2363a661c8504601be40a5ad @NZKoz NZKoz committed Aug 9, 2009
Showing with 1 addition and 1 deletion.
  1. +1 −1 railties/lib/generators/rails/app/templates/config/boot.rb
View
2 railties/lib/generators/rails/app/templates/config/boot.rb
@@ -82,8 +82,8 @@ def gem_version
end
def load_rubygems
+ min_version = '1.3.2'
require 'rubygems'
- min_version = '1.3.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

0 comments on commit df745ed

Please sign in to comment.
Something went wrong with that request. Please try again.