diff --git a/Capfile b/Capfile index fb7b618..f2f6430 100644 --- a/Capfile +++ b/Capfile @@ -15,7 +15,7 @@ require 'capistrano/deploy' # https://github.com/capistrano/rails # https://github.com/capistrano/passenger # -# require 'capistrano/rvm' +require 'capistrano/rvm' # require 'capistrano/rbenv' # require 'capistrano/chruby' require 'capistrano/bundler' diff --git a/config/deploy.rb b/config/deploy.rb index c0fbbfd..937cd6a 100644 --- a/config/deploy.rb +++ b/config/deploy.rb @@ -24,10 +24,10 @@ set :deploy_to, '/home/barf/gauge' # set :pty, true # Default value for :linked_files is [] -append :linked_files, 'config/database.yml', 'config/secrets.yml', 'db/production.sqlite3' +append :linked_files, 'config/database.yml', 'config/secrets.yml' # Default value for linked_dirs is [] -append :linked_dirs, 'log', 'tmp/pids', 'tmp/cache', 'tmp/sockets', 'vendor/bundle', 'public/system' +append :linked_dirs, 'log', 'tmp/pids', 'tmp/cache', 'tmp/sockets', 'vendor/bundle', 'public/system', 'db' # Default value for default_env is {} # set :default_env, { path: "/opt/ruby/bin:$PATH" } @@ -35,7 +35,7 @@ append :linked_dirs, 'log', 'tmp/pids', 'tmp/cache', 'tmp/sockets', 'vendor/bund # Default value for keep_releases is 5 # set :keep_releases, 5 -set :rvm_ruby_version, '2.2.2' +set :rvm_ruby_version, '2.3.1' set :puma_bind, ["tcp://127.0.0.1:9088"] set :puma_init_active_record, true