質問編集履歴
5
修正
test
CHANGED
File without changes
|
test
CHANGED
@@ -40,71 +40,15 @@
|
|
40
40
|
|
41
41
|
SSHKit::Runner::ExecuteError: Exception while executing as user@***.**.*.***: bundle exit status: 127
|
42
42
|
|
43
|
-
|
44
|
-
|
45
|
-
|
46
|
-
|
47
|
-
|
48
|
-
|
49
|
-
|
50
|
-
|
51
|
-
|
52
|
-
|
53
|
-
|
54
|
-
|
55
|
-
INFO [89645011] Finished in 0.123 seconds with exit status 0 (successful).
|
56
|
-
|
57
|
-
|
58
|
-
|
59
|
-
DEBUG [b9a75c7f] Running [ -L /var/www/app/fender/releases/20180916155036/public/assets ] as user@***.**.*.***
|
60
|
-
|
61
|
-
|
62
|
-
|
63
|
-
DEBUG [b9a75c7f] Command: [ -L /var/www/app/fender/releases/20180916155036/public/assets ]
|
64
|
-
|
65
|
-
|
66
|
-
|
67
|
-
DEBUG [4835d854] Finished in 0.124 seconds with exit status 1 (failed).
|
68
|
-
|
69
|
-
|
70
|
-
|
71
|
-
DEBUG [5094f5a4] Running [ -d /var/www/app/fender/releases/20180916155036/public/assets ] as user@***.**.*.***
|
72
|
-
|
73
|
-
|
74
|
-
|
75
|
-
DEBUG [5094f5a4] Command: [ -d /var/www/app/fender/releases/20180916155036/public/assets ]
|
76
|
-
|
77
|
-
|
78
|
-
|
79
|
-
DEBUG [863a2bb4] Finished in 0.122 seconds with exit status 1 (failed).
|
80
|
-
|
81
|
-
|
82
|
-
|
83
|
-
INFO [de2725c3] Running /usr/bin/env ln -s /var/www/app/fender/shared/public/assets /var/www/app/fender/releases/20180916155036/public/assets as user@***.**.*.***
|
84
|
-
|
85
|
-
|
86
|
-
|
87
|
-
DEBUG [de2725c3] Command: ( export RBENV_ROOT="/home/user/.rbenv" RBENV_VERSION="2.5.1" ; /usr/bin/env ln -s /var/www/app/fender/shared/public/assets /var/www/app/fender/releases/20180916155036/public/assets )
|
88
|
-
|
89
|
-
|
90
|
-
|
91
|
-
INFO [a90efcc3] Finished in 0.128 seconds with exit status 0 (successful).
|
92
|
-
|
93
|
-
|
94
|
-
|
95
|
-
DEBUG [04d3f607] Running if test ! -d /var/www/app/fender/releases/20180916155036; then echo "Directory does not exist '/var/www/app/fender/releases/20180916155036'" 1>&2; false; fi as user@***.**.*.***
|
96
|
-
|
97
|
-
|
98
|
-
|
99
|
-
DEBUG [04d3f607] Command: if test ! -d /var/www/app/fender/releases/20180916155036; then echo "Directory does not exist '/var/www/app/fender/releases/20180916155036'" 1>&2; false; fi
|
100
|
-
|
101
|
-
|
102
|
-
|
103
|
-
DEBUG [f82397df] Finished in 0.119 seconds with exit status 0 (successful).
|
104
|
-
|
105
|
-
|
106
|
-
|
107
|
-
DEBUG [2efa1e88] Running /home/user/.rbenv/bin/rbenv exec bundle check --path /var/www/app/fender/shared/bundle as user@***.**.*.***
|
43
|
+
```
|
44
|
+
|
45
|
+
|
46
|
+
|
47
|
+
$ less log/capistrano.log
|
48
|
+
|
49
|
+
```
|
50
|
+
|
51
|
+
|
108
52
|
|
109
53
|
|
110
54
|
|
@@ -140,6 +84,10 @@
|
|
140
84
|
|
141
85
|
|
142
86
|
|
87
|
+
|
88
|
+
|
89
|
+
|
90
|
+
|
143
91
|
config/deploy.rb
|
144
92
|
|
145
93
|
|
4
capistrano.logを追加
test
CHANGED
File without changes
|
test
CHANGED
@@ -44,19 +44,93 @@
|
|
44
44
|
|
45
45
|
|
46
46
|
|
47
|
-
|
48
|
-
|
49
|
-
|
50
|
-
|
51
|
-
|
52
|
-
|
53
|
-
|
54
|
-
|
55
|
-
|
56
|
-
|
57
|
-
|
58
|
-
|
59
|
-
DEBUG [a
|
47
|
+
** DEPLOY FAILED
|
48
|
+
|
49
|
+
** Refer to log/capistrano.log for details. Here are the last 20 lines:
|
50
|
+
|
51
|
+
|
52
|
+
|
53
|
+
|
54
|
+
|
55
|
+
INFO [89645011] Finished in 0.123 seconds with exit status 0 (successful).
|
56
|
+
|
57
|
+
|
58
|
+
|
59
|
+
DEBUG [b9a75c7f] Running [ -L /var/www/app/fender/releases/20180916155036/public/assets ] as user@***.**.*.***
|
60
|
+
|
61
|
+
|
62
|
+
|
63
|
+
DEBUG [b9a75c7f] Command: [ -L /var/www/app/fender/releases/20180916155036/public/assets ]
|
64
|
+
|
65
|
+
|
66
|
+
|
67
|
+
DEBUG [4835d854] Finished in 0.124 seconds with exit status 1 (failed).
|
68
|
+
|
69
|
+
|
70
|
+
|
71
|
+
DEBUG [5094f5a4] Running [ -d /var/www/app/fender/releases/20180916155036/public/assets ] as user@***.**.*.***
|
72
|
+
|
73
|
+
|
74
|
+
|
75
|
+
DEBUG [5094f5a4] Command: [ -d /var/www/app/fender/releases/20180916155036/public/assets ]
|
76
|
+
|
77
|
+
|
78
|
+
|
79
|
+
DEBUG [863a2bb4] Finished in 0.122 seconds with exit status 1 (failed).
|
80
|
+
|
81
|
+
|
82
|
+
|
83
|
+
INFO [de2725c3] Running /usr/bin/env ln -s /var/www/app/fender/shared/public/assets /var/www/app/fender/releases/20180916155036/public/assets as user@***.**.*.***
|
84
|
+
|
85
|
+
|
86
|
+
|
87
|
+
DEBUG [de2725c3] Command: ( export RBENV_ROOT="/home/user/.rbenv" RBENV_VERSION="2.5.1" ; /usr/bin/env ln -s /var/www/app/fender/shared/public/assets /var/www/app/fender/releases/20180916155036/public/assets )
|
88
|
+
|
89
|
+
|
90
|
+
|
91
|
+
INFO [a90efcc3] Finished in 0.128 seconds with exit status 0 (successful).
|
92
|
+
|
93
|
+
|
94
|
+
|
95
|
+
DEBUG [04d3f607] Running if test ! -d /var/www/app/fender/releases/20180916155036; then echo "Directory does not exist '/var/www/app/fender/releases/20180916155036'" 1>&2; false; fi as user@***.**.*.***
|
96
|
+
|
97
|
+
|
98
|
+
|
99
|
+
DEBUG [04d3f607] Command: if test ! -d /var/www/app/fender/releases/20180916155036; then echo "Directory does not exist '/var/www/app/fender/releases/20180916155036'" 1>&2; false; fi
|
100
|
+
|
101
|
+
|
102
|
+
|
103
|
+
DEBUG [f82397df] Finished in 0.119 seconds with exit status 0 (successful).
|
104
|
+
|
105
|
+
|
106
|
+
|
107
|
+
DEBUG [2efa1e88] Running /home/user/.rbenv/bin/rbenv exec bundle check --path /var/www/app/fender/shared/bundle as user@***.**.*.***
|
108
|
+
|
109
|
+
|
110
|
+
|
111
|
+
DEBUG [2efa1e88] Command: cd /var/www/app/fender/releases/20180916155036 && ( export RBENV_ROOT="/home/user/.rbenv" RBENV_VERSION="2.5.1" ; /home/user/.rbenv/bin/rbenv exec bundle check --path /var/www/app/fender/shared/bundle )
|
112
|
+
|
113
|
+
|
114
|
+
|
115
|
+
DEBUG [f78703ad] /usr/bin/env: ruby: そのようなファイルやディレクトリはありません
|
116
|
+
|
117
|
+
|
118
|
+
|
119
|
+
DEBUG [f78703ad] Finished in 0.194 seconds with exit status 127 (failed).
|
120
|
+
|
121
|
+
|
122
|
+
|
123
|
+
INFO [06a59c4a] Running /home/user/.rbenv/bin/rbenv exec bundle install --path /var/www/app/fender/shared/bundle --without development test --deployment --quiet as user@***.**.*.***
|
124
|
+
|
125
|
+
|
126
|
+
|
127
|
+
DEBUG [06a59c4a] Command: cd /var/www/app/fender/releases/20180916155036 && ( export RBENV_ROOT="/home/user/.rbenv" RBENV_VERSION="2.5.1" ; /home/user/.rbenv/bin/rbenv exec bundle install --path /var/www/app/fender/shared/bundle --without development test --deployment --quiet )
|
128
|
+
|
129
|
+
|
130
|
+
|
131
|
+
DEBUG [d6342b8b] /usr/bin/env: ruby: そのようなファイルやディレクトリはありません
|
132
|
+
|
133
|
+
|
60
134
|
|
61
135
|
```
|
62
136
|
|
3
書式の改善
test
CHANGED
@@ -1 +1 @@
|
|
1
|
-
capistranoのdefault_envの(値の)設定方法に関して(pathはどこを確認して、設定する
|
1
|
+
capistranoのdefault_envの(値の)設定方法に関して(pathはどこを確認して、設定するのか?)
|
test
CHANGED
File without changes
|
2
エラーログの追加
test
CHANGED
File without changes
|
test
CHANGED
@@ -40,6 +40,24 @@
|
|
40
40
|
|
41
41
|
SSHKit::Runner::ExecuteError: Exception while executing as user@***.**.*.***: bundle exit status: 127
|
42
42
|
|
43
|
+
|
44
|
+
|
45
|
+
|
46
|
+
|
47
|
+
↓log/capistrano.log
|
48
|
+
|
49
|
+
|
50
|
+
|
51
|
+
DEBUG [f1f84855] Running /home/user/.rbenv/bin/rbenv exec bundle check --path /var/www/app/fender/shared/bundle as user@***.2*.*.***
|
52
|
+
|
53
|
+
|
54
|
+
|
55
|
+
DEBUG [f1f84855] Command: cd /var/www/app/fender/releases/20180914103209 && ( export RBENV_ROOT="/home/user/.rbenv" RBENV_VERSION="2.5.1" ; /home/user/.rbenv/bin/rbenv exec bundle check --path /var/www/app/fender/shared/bundle )
|
56
|
+
|
57
|
+
|
58
|
+
|
59
|
+
DEBUG [a10b3279] /usr/bin/env: ruby: そのようなファイルやディレクトリはありません
|
60
|
+
|
43
61
|
```
|
44
62
|
|
45
63
|
|
1
追記
test
CHANGED
@@ -1 +1 @@
|
|
1
|
-
capistranoのdefault_envの設定方法に関して(pathはどこを確認して、設定する必要があるのか?)
|
1
|
+
capistranoのdefault_envの(値の)設定方法に関して(pathはどこを確認して、設定する必要があるのか?)
|
test
CHANGED
File without changes
|