参考:Ruby on Rails 4.1 Release Notes #1(Rails4.1へのupgrade方法) - rochefort's blog
Gemfile
gem 'rails', '4.1.0'
bundle update
cat config/initializers/secret_token.rb
----------
APP_NAME::Application.config.secret_key_base = 'xxxxxxxxxx'
----------
↓secret_key_baseをsecret_key_baseにコピー
vi config/secrets.yml
----------
development:
secret_key_base: 'xxxxxxxxxx'
test:
secret_key_base: 'xxxxxxxxxx'
production:
secret_key_base: 'xxxxxxxxxx'
----------
rm config/initializers/secret_token.rb