3 ms·
For someone just learning RoR and having installed it via http://railsinstaller.org/ http://railsinstaller.org/, how should I upgrade?
by zacksjoden 14y ago
For someone just learning RoR and having installed it via http://railsinstaller.org/ http://railsinstaller.org/, how should I upgrade?
- cheald 14y agoRun "bundle update rails" in your project's root directory (where your Gemfile is).
- bonzoesc 14y agoThis won't work if your Gemfile declares a version of Rails (Rails 3.2.9 did this). You have to update the Gemfile and then bundle update.
- danso 14y agoIt should be as easy as 'gem update rails' at your command line (Terminal window). If you're just learning and creating an app for your own edification, this is not really an issue that will affect you. That is, it doesn't affect how you construct the app, so if for some reason the gem update process doesn't work, you won't be hindered from using RoR.
- bonzoesc 14y agoThis won't work. The old version won't be purged, and it'll still be referenced in the Gemfile.
- bonzoesc 14y agoUpdate the version in your project's Gemfile, and run "bundle update rails".
- aerolite 14y agoFirst do a "gem uninstall rails", wait for that to finish, then do a "pip install Django" at the command line.