Skip to main content

how-to-update-to-rails-5

Checkout the branch​

git fetch git checkout -b rails-5-0-upgrade origin/rails-5-0-upgrade

Update ruby to 2.6.0 with rbenv​

rbenv install 2.6.0

Update ruby to 2.6.0 with rvm​

rvm upgrade 2.6.0

Setup​

bundle install npm install bundle exec rake db:migrate

Env variables​

RACK_TIMEOUT_SERVICE_TIMEOUT: '1200000'

foreman start -f Procfile.dev