forked from greasyfork-org/greasyfork
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathCapfile
More file actions
24 lines (17 loc) · 666 Bytes
/
Copy pathCapfile
File metadata and controls
24 lines (17 loc) · 666 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
# Load DSL and set up stages
require 'capistrano/setup'
# Include default deployment tasks
require 'capistrano/deploy'
require 'capistrano/rbenv'
require 'capistrano/rails'
require 'thinking_sphinx/capistrano'
require 'capistrano/puma'
install_plugin Capistrano::Puma
install_plugin Capistrano::Puma::Systemd
require 'capistrano/bundler'
require 'capistrano/scm/git'
install_plugin Capistrano::SCM::Git
# Load custom tasks from `lib/capistrano/tasks` if you have any defined
Dir.glob('lib/capistrano/tasks/*.rake').each { |r| import r }
# workaround for https://github.com/capistrano/rails/issues/235
Rake::Task['deploy:assets:backup_manifest'].clear_actions