Skip to content

Commit

Permalink
update to 2.2.2
Browse files Browse the repository at this point in the history
  • Loading branch information
jamesgolick committed Nov 29, 2008
1 parent 1b94be8 commit 7d17c24
Show file tree
Hide file tree
Showing 812 changed files with 64,079 additions and 16,227 deletions.
10 changes: 5 additions & 5 deletions config/boot.rb
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ def load_rails_gem

class << self
def rubygems_version
Gem::RubyGemsVersion if defined? Gem::RubyGemsVersion
Gem::RubyGemsVersion rescue nil
end

def gem_version
Expand All @@ -82,14 +82,14 @@ def gem_version

def load_rubygems
require 'rubygems'

unless rubygems_version >= '0.9.4'
$stderr.puts %(Rails requires RubyGems >= 0.9.4 (you have #{rubygems_version}). Please `gem update --system` and try again.)
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
end

rescue LoadError
$stderr.puts %(Rails requires RubyGems >= 0.9.4. Please install RubyGems and try again: http://rubygems.rubyforge.org)
$stderr.puts %Q(Rails requires RubyGems >= #{min_version}. Please install RubyGems and try again: http://rubygems.rubyforge.org)
exit 1
end

Expand Down
Loading

0 comments on commit 7d17c24

Please sign in to comment.