When I run rails “–version” I get this:
rails --version
/usr/lib/ruby/site_ruby/1.8/rubygems.rb:379:in report_activate_error': Could not find RubyGem activeresource (= 2.0.2) (Gem::LoadError) from /usr/lib/ruby/site_ruby/1.8/rubygems.rb:311:in
activate’
from /usr/lib/ruby/site_ruby/1.8/rubygems.rb:337:in activate' from /usr/lib/ruby/site_ruby/1.8/rubygems.rb:336:in
each’
from /usr/lib/ruby/site_ruby/1.8/rubygems.rb:336:in activate' from /usr/lib/ruby/site_ruby/1.8/rubygems.rb:65:in
active_gem_with_options’
from /usr/lib/ruby/site_ruby/1.8/rubygems.rb:50:in `gem’
from /usr/bin/rails:18
System OS = CentOS-5.1
Ruby = ruby-1.8.5-5.el5_1.1
Installed Gems:
gem list
*** LOCAL GEMS ***
actionmailer (2.0.2, 2.0.1, 1.3.6, 1.3.5)
actionpack (2.0.2, 2.0.1, 1.13.6, 1.13.5)
actionwebservice (1.2.6, 1.2.5)
activerecord (2.0.2, 2.0.1, 1.15.6, 1.15.5)
activesupport (2.0.2, 2.0.1, 1.4.4)
archive-tar-minitar (0.5.1)
color (1.4.0)
fastercsv (1.2.3)
ferret (0.11.6, 0.11.5, 0.11.4)
goldberg_generator (0.2.1)
hoe (1.4.0, 1.3.0)
loaded_plugins (0.1.2)
mailfactory (1.2.3)
mime-types (1.15)
paginator (1.1.0)
pdf-writer (1.1.7)
plugin_migrations (0.1.2)
rails (2.0.2, 2.0.1, 1.2.6, 1.2.5)
rake (0.8.1, 0.7.3)
RedCloth (3.0.4)
rspec (1.1.1, 1.1.0, 1.0.8)
ruby-postgres (0.7.1.2006.04.06)
rubyforge (0.4.4)
rubygems-update (1.0.1, 0.9.5, 0.9.4)
rubyzip (0.9.1)
sources (0.0.1)
transaction-simple (1.4.0)
vim-ruby (2007.05.07)
ZenTest (3.7.1, 3.6.1)
Anyone have any ideas on how to fix this? Is there a missing directory
in the default search path in the new Gem 1.0.1 similar to the problem
in 0.9.5?