Upgrade procedure:
$ echo 2.6.3 > .ruby-version
# upgrade ruby-build to know about the latest ruby versions.
# see also: github.com/rkh/rbenv-update
$ cd ~/.rbenv/plugins/ruby-build && git pull
# install the version of ruby specified in .ruby-version.
# see also: github.com/capistrano/rbenv/issues/83
$ rbenv install --skip-existing
# update the shell to use the latest version of ruby by default.
$ rbenv global 2.6.3
# update rubygems and bundler
$ gem update --system
# update the lockfile to use the latest version of bundler
$ bundle update --bundler
12 lines
357 B
Ruby
12 lines
357 B
Ruby
set :user, "danbooru"
|
|
set :rails_env, "production"
|
|
append :linked_files, ".env.production"
|
|
|
|
server "kagamihara", :roles => %w(web app), :primary => true
|
|
server "shima", :roles => %w(web app)
|
|
server "saitou", :roles => %w(web app)
|
|
server "oogaki", :roles => %w(worker)
|
|
|
|
set :newrelic_appname, "Danbooru"
|
|
after "deploy:finished", "newrelic:notice_deployment"
|