2015-08-10 21:50:52 +03:00
|
|
|
# Load DSL and set up stages
|
2014-08-31 17:18:10 +03:00
|
|
|
require 'capistrano/setup'
|
|
|
|
|
2015-08-10 21:50:52 +03:00
|
|
|
# Include default deployment tasks
|
2014-08-31 17:18:10 +03:00
|
|
|
require 'capistrano/deploy'
|
|
|
|
|
2015-08-10 21:50:52 +03:00
|
|
|
# Include tasks from other gems included in your Gemfile
|
2014-08-31 17:18:10 +03:00
|
|
|
#
|
|
|
|
# For documentation on these, see for example:
|
|
|
|
#
|
|
|
|
# https://github.com/capistrano/rvm
|
|
|
|
# https://github.com/capistrano/rbenv
|
|
|
|
# https://github.com/capistrano/chruby
|
|
|
|
# https://github.com/capistrano/bundler
|
|
|
|
# https://github.com/capistrano/rails
|
2015-08-10 21:50:52 +03:00
|
|
|
# https://github.com/capistrano/passenger
|
2014-08-31 17:18:10 +03:00
|
|
|
#
|
|
|
|
# require 'capistrano/rvm'
|
|
|
|
# require 'capistrano/rbenv'
|
|
|
|
# require 'capistrano/chruby'
|
2015-08-10 21:50:52 +03:00
|
|
|
require 'capistrano/bundler'
|
|
|
|
require 'capistrano/rails/assets'
|
|
|
|
require 'capistrano/rails/migrations'
|
|
|
|
require 'capistrano/puma'
|
2015-08-15 06:20:50 +03:00
|
|
|
# require 'capistrano/puma/nginx' # if you want to upload a nginx site template
|
2015-08-10 21:50:52 +03:00
|
|
|
# require 'capistrano/passenger'
|
2016-03-17 11:27:53 +02:00
|
|
|
# require 'capistrano/rvm'
|
2014-08-31 17:18:10 +03:00
|
|
|
|
2015-08-10 21:50:52 +03:00
|
|
|
# Load custom tasks from `lib/capistrano/tasks` if you have any defined
|
2014-08-31 17:18:10 +03:00
|
|
|
Dir.glob('lib/capistrano/tasks/*.rake').each { |r| import r }
|