質問編集履歴
1
capfileを追記
test
CHANGED
File without changes
|
test
CHANGED
@@ -41,3 +41,99 @@
|
|
41
41
|
|
42
42
|
|
43
43
|
宜しくお願いいたします。
|
44
|
+
|
45
|
+
|
46
|
+
|
47
|
+
追記
|
48
|
+
|
49
|
+
|
50
|
+
|
51
|
+
capfileの中身を追記させていただきます。
|
52
|
+
|
53
|
+
```ここに言語を入力
|
54
|
+
|
55
|
+
# Load DSL and set up stages
|
56
|
+
|
57
|
+
require "capistrano/setup"
|
58
|
+
|
59
|
+
|
60
|
+
|
61
|
+
# Include default deployment tasks
|
62
|
+
|
63
|
+
require "capistrano/deploy"
|
64
|
+
|
65
|
+
|
66
|
+
|
67
|
+
# Load the SCM plugin appropriate to your project:
|
68
|
+
|
69
|
+
#
|
70
|
+
|
71
|
+
# require "capistrano/scm/hg"
|
72
|
+
|
73
|
+
# install_plugin Capistrano::SCM::Hg
|
74
|
+
|
75
|
+
# or
|
76
|
+
|
77
|
+
# require "capistrano/scm/svn"
|
78
|
+
|
79
|
+
# install_plugin Capistrano::SCM::Svn
|
80
|
+
|
81
|
+
# or
|
82
|
+
|
83
|
+
require "capistrano/scm/git"
|
84
|
+
|
85
|
+
install_plugin Capistrano::SCM::Git
|
86
|
+
|
87
|
+
|
88
|
+
|
89
|
+
# Include tasks from other gems included in your Gemfile
|
90
|
+
|
91
|
+
#
|
92
|
+
|
93
|
+
# For documentation on these, see for example:
|
94
|
+
|
95
|
+
#
|
96
|
+
|
97
|
+
# https://github.com/capistrano/rvm
|
98
|
+
|
99
|
+
# https://github.com/capistrano/rbenv
|
100
|
+
|
101
|
+
# https://github.com/capistrano/chruby
|
102
|
+
|
103
|
+
# https://github.com/capistrano/bundler
|
104
|
+
|
105
|
+
# https://github.com/capistrano/rails
|
106
|
+
|
107
|
+
# https://github.com/capistrano/passenger
|
108
|
+
|
109
|
+
#
|
110
|
+
|
111
|
+
require 'capistrano/rvm'
|
112
|
+
|
113
|
+
require 'capistrano/rbenv'
|
114
|
+
|
115
|
+
require 'capistrano/chruby'
|
116
|
+
|
117
|
+
require 'capistrano/bundler'
|
118
|
+
|
119
|
+
require 'capistrano/rails/assets'
|
120
|
+
|
121
|
+
require 'capistrano/rails/migrations'
|
122
|
+
|
123
|
+
require 'capistrano/passenger'
|
124
|
+
|
125
|
+
require 'capistrano/puma'
|
126
|
+
|
127
|
+
require 'sshkit/sudo'
|
128
|
+
|
129
|
+
require 'whenever/capistrano'
|
130
|
+
|
131
|
+
|
132
|
+
|
133
|
+
# Load custom tasks from `lib/capistrano/tasks` if you have any defined
|
134
|
+
|
135
|
+
Dir.glob("lib/capistrano/tasks/*.rake").each { |r| import r }
|
136
|
+
|
137
|
+
install_plugin Capistrano::Puma
|
138
|
+
|
139
|
+
```
|