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 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.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With