forked from psu-libraries/scholarsphere-3
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathCapfile
37 lines (31 loc) · 1.14 KB
/
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
30
31
32
33
34
35
36
37
# frozen_string_literal: true
require 'new_relic/recipes'
# Load DSL and Setup Up Stages
require 'capistrano/setup'
# Includes default deployment tasks
require 'capistrano/deploy'
# Includes tasks from other gems included in your Gemfile
#
# 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
#
# require 'capistrano/rvm'
require 'capistrano/rbenv' # rbenv setup
require 'capistrano/rails' # rails (includes bundler, rails/assets and rails/migrations)
require 'capistrano/scm/git'
install_plugin Capistrano::SCM::Git
require 'whenever/capistrano' # whenever
require 'capistrano-resque' # resque
require 'capistrano/rbenv_install' # rbenv install plugin
require 'capistrano/passenger'
# Loads custom tasks from `lib/capistrano/tasks' if you have any defined.
# tasks included: passenger, checksum
Dir.glob('lib/capistrano/tasks/*.rake').each { |r| import r }
# Enable tracing at all times
Rake.application.options.trace = true
Rake.application.options.backtrace = true