Ruby on Rails 3 Tutorial - Could not find arel-2.0.8 in any of the sources
I've been away from my RoR 3 tutorial for about a week and I noticed that I'm getting this error in my autotest window
Could not find arel-2.0.8 in any of the sources
I can't figure out where this came from or ev开发者_开发问答en more importantly, how to get it resolved. I tried installing the gem for this using
gem install arel
which seemed to get the gem. Then I ran
bundle install
when I restart autotest I get the same error.
Since I am totally new to RoR these kind of problems are the most difficult to figure out when trying to follow a tutorial.
Please help. Thanks!! Bill
Bundle installs the right version of the Gem you needed while gem install uses the newset stable version - which is not necessarily what you need in this case.
Anytime you modify your Gemfile run bundle install instead of gem install becauase Bundles takes care of Gem dependencies, installs and updates when needed.
Now if you check
gem list
you'll see more version numbers near arel. You need the 2.0.8 as the error message said.
精彩评论