Reputation: 145
I'm new to the Ruby on Rails environment and would like to get input in relation to upgrading my Rails environment from 4.0.2 to 4.2.3, which I assume is the latest version.
My Ruby version is 2.0.0p353 (2013-11-22) [i386-mingw32]
.
bundle install cmd
to install all gems. Is there a similar command to upgrade to the latest version?Upvotes: 0
Views: 1126
Reputation: 1318
In your gemfile change:
gem 'rails', '4.0.2'
to
gem 'rails', '4.2.3'
and in your terminal run bundle update
.
If you are trying to update ONLY Rails, run: bundle update rails
.
Upvotes: 2