From af5602268d2d44d13544895bc64f3eef32a49950 Mon Sep 17 00:00:00 2001 From: Sean Marcia Date: Sat, 6 Oct 2018 18:05:55 -0400 Subject: [PATCH] final deploy cleanup --- Capfile | 4 ++-- config/deploy/production.rb | 10 +++++----- 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/Capfile b/Capfile index fa59896c02..4a923ba070 100644 --- a/Capfile +++ b/Capfile @@ -15,8 +15,8 @@ require "capistrano/deploy" # https://github.com/capistrano/rails # https://github.com/capistrano/passenger # -require 'capistrano/rvm' -#require "capistrano/rbenv" +require "capistrano/rvm" +# require "capistrano/rbenv" # require 'capistrano/chruby' require "capistrano/bundler" require "capistrano/rails/assets" diff --git a/config/deploy/production.rb b/config/deploy/production.rb index ecacfcfb4e..7c90713a05 100644 --- a/config/deploy/production.rb +++ b/config/deploy/production.rb @@ -12,10 +12,10 @@ role :app, "deploy@104.45.147.100" server "104.45.147.100", roles: %w{web app db}, primary: true, - ssh_options: { - forward_agent: true, - keys: ["~/.ssh/id_rsa"] - } + ssh_options: { + forward_agent: true, + keys: ["~/.ssh/id_rsa"] + } # role-based syntax # ================== @@ -38,7 +38,7 @@ # Feel free to add new variables to customise your setup. set :rvm_type, :user -set :rvm_ruby_version, '2.5.1' +set :rvm_ruby_version, "2.5.1" # Custom SSH Options # ================== # You may pass any option but keep in mind that net/ssh understands a