Upgrade Rails in Gemfile, environment.rb, run bundle install