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.
If you’re changing the version in your Gemfile, you should be running
bundle updateso that all gems are updated to their latest versions specified by theGemfile.rake rails:updateis used for updating things such as the Prototype assets to the latest version.