diff --git a/Capfile b/Capfile index c333f8aff..b6b9b9e2a 100644 --- a/Capfile +++ b/Capfile @@ -3,10 +3,10 @@ require 'dotenv' Dotenv.load('.env') # Load DSL and set up stages -require "capistrano/setup" +require 'capistrano/setup' # Include default deployment tasks -require "capistrano/deploy" +require 'capistrano/deploy' # Load the SCM plugin appropriate to your project: # @@ -16,7 +16,7 @@ require "capistrano/deploy" # require "capistrano/scm/svn" # install_plugin Capistrano::SCM::Svn # or -require "capistrano/scm/git" +require 'capistrano/scm/git' install_plugin Capistrano::SCM::Git # Include tasks from other gems included in your Gemfile @@ -30,14 +30,14 @@ install_plugin Capistrano::SCM::Git # 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" -require "capistrano/rails/assets" -require "capistrano/rails/migrations" -require "capistrano/passenger" +require 'capistrano/bundler' +require 'capistrano/rails/assets' +require 'capistrano/rails/migrations' +require 'capistrano/passenger' require 'capistrano/yarn' # Load custom tasks from `lib/capistrano/tasks` if you have any defined -Dir.glob("lib/capistrano/tasks/*.rake").each { |r| import r } +Dir.glob('lib/capistrano/tasks/*.rake').each { |r| import r } diff --git a/Gemfile b/Gemfile index e510b4f93..c8463819b 100644 --- a/Gemfile +++ b/Gemfile @@ -51,7 +51,6 @@ group :development do gem 'capistrano-rvm' gem 'capistrano-passenger' gem 'capistrano-yarn' - end # Windows does not include zoneinfo files, so bundle the tzinfo-data gem diff --git a/config/deploy/production.rb b/config/deploy/production.rb index 4bb7a7149..b06724eda 100644 --- a/config/deploy/production.rb +++ b/config/deploy/production.rb @@ -7,8 +7,6 @@ # server "example.com", user: "deploy", roles: %w{app web}, other_property: :other_value # server "db.example.com", user: "deploy", roles: %w{db} - - # role-based syntax # ================== @@ -21,8 +19,6 @@ # role :web, %w{user1@primary.com user2@additional.com}, other_property: :other_value # role :db, %w{deploy@example.com} - - # Configuration # ============= # You can set any configuration variable like in config/deploy.rb @@ -31,8 +27,6 @@ # http://capistranorb.com/documentation/getting-started/configuration/ # Feel free to add new variables to customise your setup. - - # Custom SSH Options # ================== # You may pass any option but keep in mind that net/ssh understands a