I had already upgraded my Rails gem to 2.0.2, but for some reason rubygems didn’t install the rest of the updated rails gems (ActiveRecord, etc).
This did the trick:sudo gem update --system sudo gem update --source http://gems.rubyonrails.orgThis was the error, when trying to create a new rails app:
$ rails foo
/usr/local/lib/ruby/site_ruby/1.8/rubygems.rb:379:in `report_activate_error': RubyGem version error: activesupport(1.2.5 not = 2.0.2) (Gem::LoadError)
from /usr/local/lib/ruby/site_ruby/1.8/rubygems.rb:311:in `activate'
from /usr/local/lib/ruby/site_ruby/1.8/rubygems.rb:337:in `activate'
from /usr/local/lib/ruby/site_ruby/1.8/rubygems.rb:336:in `activate'
from /usr/local/lib/ruby/site_ruby/1.8/rubygems.rb:65:in `active_gem_with_options'
from /usr/local/lib/ruby/site_ruby/1.8/rubygems.rb:50:in `gem'
from /usr/local/bin/rails:18
Was also seeing it while trying to run ‘rake’ on existing rails projects.







