pari
pari

Reputation: 145

Upgrade Rails to latest version

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].

Upvotes: 0

Views: 1126

Answers (1)

kjmagic13
kjmagic13

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

Related Questions