Update rails to a specific version

12,148
gem install rails --version=3.2.3

Or use bundler. Write in Gemfile:

gem 'rails', '3.2.3'

and execute in rails root directory

bundle install
Share:
12,148
rizidoro
Author by

rizidoro

Updated on July 18, 2022

Comments

  • rizidoro
    rizidoro almost 2 years

    How can I update Rails to a specific version? I have Rails 3.2.2 on my local machine, but I need to update to version 3.2.3.

    If I execute gem update rails, it will update to version 3.2.6, which is the latest.

    How can I do this?

  • ted
    ted over 10 years
    The bundle currently has rails locked at 3.2.2. Try running bundle update rails