Reputation: 593
I created a new Ruby on Rails 3.0.1 project, and then globally updated gems to 3.0.3.
After some digging around, I ended up editing the project Gemfile to say "3.0.3" instead of "3.0.1", and then ran "rake rails:update", and now it appears that everything is up-to-date.
However, I can't find any references on the Internet for doing this with Rails 3, so I want to make sure this is the right way of doing things. Confirmation appreciated. Thank you.
Upvotes: 4
Views: 3156
Reputation: 107728
If you're changing the version in your Gemfile, you should be running bundle update
so that all gems are updated to their latest versions specified by the Gemfile
. rake rails:update
is used for updating things such as the Prototype assets to the latest version.
Upvotes: 9