-
Notifications
You must be signed in to change notification settings - Fork 0
/
Capfile
29 lines (22 loc) · 938 Bytes
/
Capfile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
require "capistrano/setup"
require "capistrano/deploy"
require "capistrano/scm/git"
install_plugin Capistrano::SCM::Git
# require "rvm/capistrano"
require 'rvm1/capistrano3'
require "capistrano/rails"
# require "capistrano/bundler"
require "capistrano/yarn"
require "capistrano/passenger"
# require "capistrano/chruby"
# require "capistrano/rails/assets"
# require "capistrano/rails/migrations"
# set :rvm_ruby_string, :local # use the same ruby as used locally for deployment
# set :rvm_autolibs_flag, "read-only" # more info: rvm help autolibs
# before 'deploy:setup', 'rvm:install_rvm' # install/update RVM
# before 'deploy:setup', 'rvm:install_ruby' # install Ruby and create gemset, OR:
# before 'deploy', 'rvm1:install:rvm'
# before 'deploy', 'rvm1:install:ruby'
# before 'deploy', 'rvm1:install:gems'
set :linked_files, %w{config/master.key}
Dir.glob("lib/capistrano/tasks/*.rake").each { |r| import r }