Successfully installed rails-2.0.2
from /Library/Ruby/Site/1.8/rubygems.rb:76:in
rails 2.0.2 once again?
You are running a wrong version of activesupport (RubyGem version
error: activesupport(1.4.2 not = 2.0.2) (Gem::LoadError))
Successfully installed rails-2.0.2
from /Library/Ruby/Site/1.8/rubygems.rb:76:in
rails 2.0.2 once again?
You are running a wrong version of activesupport (RubyGem version
error: activesupport(1.4.2 not = 2.0.2) (Gem::LoadError))
#sudo gem update --system
Password:
Updating RubyGems…
Updating metadata for 7 gems from http://gems.rubyforge.org
…
complete
Attempting remote update of rubygems-update
Successfully installed rubygems-update-1.0.0
1 gem installed
Updating version of RubyGems to 1.0.0
Installing RubyGems 1.0.0
…
cp update_rubygems /tmp/update_rubygems
install -c -m 0755 /tmp/update_rubygems
/System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/bin/update_rubygems
rm /tmp/update_rubygems
rm /Library/Ruby/Gems/1.8/source_cache
Removing old RubyGems RDoc and ri…
rm -rf /Library/Ruby/Gems/1.8/doc/rubygems-0.9.5
Installing rubygems-1.0.0 ri into
/Library/Ruby/Gems/1.8/doc/rubygems-1.0.0/ri…
Installing rubygems-1.0.0 rdoc into
/Library/Ruby/Gems/1.8/doc/rubygems-1.0.0/rdoc…
As of RubyGems 0.8.0, library stubs are no longer needed.
Searching $LOAD_PATH for stubs to optionally delete (may take a
while)…
…done.
No library stubs found.
RubyGems system software updated
#sudo gem update --source http://gems.rubyonrails.org
Updating installed gems…
Bulk updating Gem source index for: http://gems.rubyonrails.org
Attempting remote update of actionmailer
Successfully installed actionmailer-2.0.2
1 gem installed
Installing ri documentation for actionmailer-2.0.2…
Installing RDoc documentation for actionmailer-2.0.2…
Attempting remote update of actionpack
Successfully installed actionpack-2.0.2
1 gem installed
Installing ri documentation for actionpack-2.0.2…
ERROR: While generating documentation for actionpack-2.0.2
… MESSAGE: Unhandled special: Special: type=33, text=“TODO”
… RDOC args: --ri --op /Library/Ruby/Gems/1.8/doc/actionpack-2.0.2/ri
–quiet lib
(continuing with the rest of the installation)
Installing RDoc documentation for actionpack-2.0.2…
Attempting remote update of activerecord
Successfully installed activerecord-2.0.2
1 gem installed
Installing ri documentation for activerecord-2.0.2…
ERROR: While generating documentation for activerecord-2.0.2
… MESSAGE: Unhandled special: Special: type=33, text=“Id”
… RDOC args: --ri --op
/Library/Ruby/Gems/1.8/doc/activerecord-2.0.2/ri --main README --quiet
lib README
(continuing with the rest of the installation)
Installing RDoc documentation for activerecord-2.0.2…
Attempting remote update of activesupport
Successfully installed activesupport-2.0.2
1 gem installed
Installing ri documentation for activesupport-2.0.2…
ERROR: While generating documentation for activesupport-2.0.2
… MESSAGE: Unhandled special: Special: type=33, text=“Ruby”
… RDOC args: --ri --op
/Library/Ruby/Gems/1.8/doc/activesupport-2.0.2/ri --quiet lib
(continuing with the rest of the installation)
Installing RDoc documentation for activesupport-2.0.2…
Gems updated: actionmailer, actionpack, activerecord, activesupport
I still get error when I run rails -v
rails -v
/Library/Ruby/Site/1.8/rubygems.rb:378:in report_activate_error': Could not find RubyGem activeresource (= 2.0.2) (Gem::LoadError) from /Library/Ruby/Site/1.8/rubygems.rb:310:inactivate’
from /Library/Ruby/Site/1.8/rubygems.rb:336:in activate' from /Library/Ruby/Site/1.8/rubygems.rb:335:ineach’
from /Library/Ruby/Site/1.8/rubygems.rb:335:in activate' from /Library/Ruby/Site/1.8/rubygems.rb:65:inactive_gem_with_options’
from /Library/Ruby/Site/1.8/rubygems.rb:50:in `gem’
from /Library/Ruby/bin/rails:15
from /Library/Ruby/Site/1.8/rubygems.rb:335:in activate' from /Library/Ruby/Site/1.8/rubygems.rb:65:inactive_gem_with_options’
from /Library/Ruby/Site/1.8/rubygems.rb:50:in `gem’
from /Library/Ruby/bin/rails:15
from /Library/Ruby/Site/1.8/rubygems.rb:335:in activate' from /Library/Ruby/Site/1.8/rubygems.rb:65:inactive_gem_with_options’
from /Library/Ruby/Site/1.8/rubygems.rb:50:in `gem’
from /Library/Ruby/bin/rails:15
from /Library/Ruby/Site/1.8/rubygems.rb:335:in activate' from /Library/Ruby/Site/1.8/rubygems.rb:65:inactive_gem_with_options’
from /Library/Ruby/Site/1.8/rubygems.rb:50:in `gem’
from /Library/Ruby/bin/rails:15
I’m having the same problem but i get: Error installing activeresource:
invalid gem format for
/Library/Ruby/Gems/1.8/cache/activesupport-2.1.0.gem
when i try to install active support.
This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.