Does this mean I've hosed my ruby/gem/rails environment somehow? I've been using InstantRails2-0 happily for awhile now, but recently decided to upgrade rails. It has been a major pain so far. First I had issues getting the latest ge开发者_StackOverflowm version, rubygems-update couldn't get the latest. I was finally able to get the latest gem version by manually downloading it and running setup.rb for rubygems-1.3.5.
When I do 'gem update rails
', I get the following error:
invalid gem format forr C:/ruby/lib/ruby/gems/1.8/cache/activesupport-2.3.5.gem
I tried manually downloading the activesupport gem and doing 'gem install local [path to gem]'. This appeared to work, so I did the same with rails 2.3.3.gem, but then got the same invalid gem format error, but for activerecord-2.3.3.gem.
My gem version is 1.3.5. Current rails version is ....not working anymore because of RubyGem version error: activesupport(2.1.1 not = 2.0.2)
This post might be helpful: http://www.ruby-forum.com/topic/137985
You might have to clear out rails and its dependencies the gem cache
directory. You also might try gem uninstall
on the offending gems first
精彩评论