Browse files

Rails now requires rubygems 1.3.1 of higher.

  • Loading branch information...
1 parent c562dfc commit 549b18c9286b6cccf4978093576325fd711dc421 @lifo lifo committed Nov 14, 2008
Showing with 1 addition and 1 deletion.
  1. +1 −1 railties/environments/boot.rb
@@ -82,7 +82,7 @@ def gem_version
def load_rubygems
require 'rubygems'
- min_version = '1.1.1'
+ 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

5 comments on commit 549b18c

wtn commented on 549b18c Nov 22, 2008

This is causing problems for me on OS X 10.5.5, as I encounter the following issue:
bash-3.2# gem update —system
Updating RubyGems
Nothing to update
bash-3.2# gem -v

wtn commented on 549b18c Nov 22, 2008

Another oddity:
bash-3.2# /Library/Ruby/Gems/1.8/gems/rubygems-update-1.3.1/bin/gem -v




$ sudo gem install rubygems-update
Successfully installed rubygems-update-1.3.0
1 gem installed
$ sudo update_rubygems
Installing RubyGems 1.3.0

wtn commented on 549b18c Nov 24, 2008

Thanks for the tip on using update_rubygems.
I figured out that 1.3.1 installed correctly when I downloaded the tarball and ran the install script.
I apologize for posting here.

Please sign in to comment.