Skip to content

Instantly share code, notes, and snippets.

@tomoyukiinoue
Last active December 10, 2015 23:18
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save tomoyukiinoue/4507960 to your computer and use it in GitHub Desktop.
Save tomoyukiinoue/4507960 to your computer and use it in GitHub Desktop.
Rails 3.2.11へのアップデート方法メモ(緊急)
$ 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