diff options
author | Michael Koziarski <michael@koziarski.com> | 2009-08-09 11:11:34 +1200 |
---|---|---|
committer | Michael Koziarski <michael@koziarski.com> | 2009-08-09 11:11:34 +1200 |
commit | df745ed80556692f2363a661c8504601be40a5ad (patch) | |
tree | b2406f273583c60324e96202d607277c2b1f3270 /railties/lib/generators/rails/app | |
parent | 5632b36701ad9514d596c558877cd74c14c1d54b (diff) | |
download | rails-df745ed80556692f2363a661c8504601be40a5ad.tar.gz rails-df745ed80556692f2363a661c8504601be40a5ad.tar.bz2 rails-df745ed80556692f2363a661c8504601be40a5ad.zip |
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.
Diffstat (limited to 'railties/lib/generators/rails/app')
-rw-r--r-- | railties/lib/generators/rails/app/templates/config/boot.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/railties/lib/generators/rails/app/templates/config/boot.rb b/railties/lib/generators/rails/app/templates/config/boot.rb index 0ad0f787f8..dd5e3b6916 100644 --- a/railties/lib/generators/rails/app/templates/config/boot.rb +++ b/railties/lib/generators/rails/app/templates/config/boot.rb @@ -82,8 +82,8 @@ module Rails 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 |