1
0
Fork 0
mirror of https://github.com/rails/rails.git synced 2022-11-09 12:12:34 -05:00

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.
This commit is contained in:
Michael Koziarski 2009-08-09 11:11:34 +12:00
parent 5632b36701
commit df745ed805

View file

@ -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