Created
July 11, 2015 18:41
-
-
Save epintos/cc7f0913893738f4c549 to your computer and use it in GitHub Desktop.
Ruby on Rails deploy with Capistrano 3
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
require 'capistrano/setup' | |
require 'capistrano/deploy' | |
require 'capistrano/rbenv' | |
require 'capistrano/rbenv_install' | |
require 'capistrano/bundler' | |
require 'capistrano/rails/assets' | |
require 'capistrano/rails/migrations' | |
require 'capistrano/nginx_unicorn' | |
require 'capistrano/sidekiq' | |
require 'whenever/capistrano' | |
require 'capistrano/rails/console' | |
require 'capistrano/postgresql' | |
# Load custom tasks from `lib/capistrano/tasks' if you have any defined | |
Dir.glob('lib/capistrano/tasks/*.rake').each { |r| import r } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment