Last active
December 10, 2015 23:18
-
-
Save tomoyukiinoue/4507960 to your computer and use it in GitHub Desktop.
Rails 3.2.11へのアップデート方法メモ(緊急)
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$ ruby -v | |
ruby 1.9.3p194 (2012-04-20 revision 35410) [x86_64-darwin12.2.0] | |
$ gem -v | |
1.8.23 | |
$ rails -v | |
Rails 3.2.8 | |
$ gem update --system | |
$ gem -v | |
1.8.24 | |
$ gem update rails | |
$ rbenv rehash | |
$ gem uninstall rails | |
Select gem to uninstall: | |
1. rails-3.2.8 | |
2. rails-3.2.11 | |
3. All versions | |
> 1 | |
Successfully uninstalled rails-3.2.1 | |
$ rm Gemfile.lock | |
$ vim Gemfile | |
gem 'rake', '0.9.2.2' | |
gem 'rails', '3.2.11' | |
# 以下はある人だけ | |
gem 'twitter-bootstrap-rails','2.1.5' | |
gem 'capistrano','2.13.4' | |
$ bundle install | |
$ rails -v | |
Rails 3.2.11 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment