Permalink
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...
NZKoz committed Aug 8, 2009
1 parent 5632b36 commit df745ed80556692f2363a661c8504601be40a5ad
Showing with 1 addition and 1 deletion.
  1. +1 −1 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.