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:
parent
5632b36701
commit
df745ed805
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue