質問編集履歴
2
質問の内容を変更しました。
test
CHANGED
@@ -1 +1 @@
|
|
1
|
-
デプロイ時
|
1
|
+
デプロイ時にLoadError: cannot load such file -- listenとなってしまいます。解決方法をご教授お願いいたします。
|
test
CHANGED
@@ -8,6 +8,40 @@
|
|
8
8
|
|
9
9
|
LoadError: Could not load the 'listen' gem. Add `gem 'listen'` to the development group of your Gemfile
|
10
10
|
|
11
|
+
・
|
12
|
+
|
13
|
+
・
|
14
|
+
|
15
|
+
・
|
16
|
+
|
17
|
+
LoadError: cannot load such file -- listen
|
18
|
+
|
19
|
+
・
|
20
|
+
|
21
|
+
・
|
22
|
+
|
23
|
+
・
|
24
|
+
|
25
|
+
|
26
|
+
|
27
|
+
```
|
28
|
+
|
29
|
+
$ bundle install を実行してみました。
|
30
|
+
|
31
|
+
```ここに言語を入力
|
32
|
+
|
33
|
+
Using rb-inotify 0.10.0
|
34
|
+
|
35
|
+
Using ruby_dep 1.5.0
|
36
|
+
|
37
|
+
Using listen 3.1.5 #存在を確認
|
38
|
+
|
39
|
+
Using mysql2 0.5.2
|
40
|
+
|
41
|
+
Using puma 3.12.1
|
42
|
+
|
43
|
+
|
44
|
+
|
11
45
|
```
|
12
46
|
|
13
47
|
サイトで検索してみると以下を削除するとありました。
|
1
エラーコードの追記をしました。
test
CHANGED
File without changes
|
test
CHANGED
@@ -67,3 +67,159 @@
|
|
67
67
|
$ bundle installを実行して、再度デプロイしてみましたが、変わりませんでした。
|
68
68
|
|
69
69
|
自力で解決出来ないのでご教授お願いいたします。
|
70
|
+
|
71
|
+
|
72
|
+
|
73
|
+
追記
|
74
|
+
|
75
|
+
表示されたコードは以下になります。
|
76
|
+
|
77
|
+
```ここに言語を入力
|
78
|
+
|
79
|
+
[6223cbfb] rake aborted!
|
80
|
+
|
81
|
+
LoadError: Could not load the 'listen' gem. Add `gem 'listen'` to the development group of your Gemfile
|
82
|
+
|
83
|
+
/usr/share/nginx/html/edamame/shared/bundle/ruby/2.3.0/gems/activesupport-5.1.7/lib/active_support/dependencies.rb:292:in `require'
|
84
|
+
|
85
|
+
/usr/share/nginx/html/edamame/shared/bundle/ruby/2.3.0/gems/activesupport-5.1.7/lib/active_support/dependencies.rb:292:in `block in require'
|
86
|
+
|
87
|
+
/usr/share/nginx/html/edamame/shared/bundle/ruby/2.3.0/gems/activesupport-5.1.7/lib/active_support/dependencies.rb:258:in `load_dependency'
|
88
|
+
|
89
|
+
/usr/share/nginx/html/edamame/shared/bundle/ruby/2.3.0/gems/activesupport-5.1.7/lib/active_support/dependencies.rb:292:in `require'
|
90
|
+
|
91
|
+
/usr/share/nginx/html/edamame/shared/bundle/ruby/2.3.0/gems/activesupport-5.1.7/lib/active_support/evented_file_update_checker.rb:59:in `block in initialize'
|
92
|
+
|
93
|
+
/usr/share/nginx/html/edamame/shared/bundle/ruby/2.3.0/gems/activesupport-5.1.7/lib/active_support/core_ext/kernel/reporting.rb:13:in `block in silence_warnings'
|
94
|
+
|
95
|
+
/usr/share/nginx/html/edamame/shared/bundle/ruby/2.3.0/gems/activesupport-5.1.7/lib/active_support/core_ext/kernel/reporting.rb:26:in `with_warnings'
|
96
|
+
|
97
|
+
/usr/share/nginx/html/edamame/shared/bundle/ruby/2.3.0/gems/activesupport-5.1.7/lib/active_support/core_ext/kernel/reporting.rb:13:in `silence_warnings'
|
98
|
+
|
99
|
+
/usr/share/nginx/html/edamame/shared/bundle/ruby/2.3.0/gems/activesupport-5.1.7/lib/active_support/evented_file_update_checker.rb:57:in `initialize'
|
100
|
+
|
101
|
+
/usr/share/nginx/html/edamame/shared/bundle/ruby/2.3.0/gems/activesupport-5.1.7/lib/active_support/i18n_railtie.rb:59:in `new'
|
102
|
+
|
103
|
+
/usr/share/nginx/html/edamame/shared/bundle/ruby/2.3.0/gems/activesupport-5.1.7/lib/active_support/i18n_railtie.rb:59:in `initialize_i18n'
|
104
|
+
|
105
|
+
/usr/share/nginx/html/edamame/shared/bundle/ruby/2.3.0/gems/activesupport-5.1.7/lib/active_support/i18n_railtie.rb:17:in `block in <class:Railtie>'
|
106
|
+
|
107
|
+
/usr/share/nginx/html/edamame/shared/bundle/ruby/2.3.0/gems/activesupport-5.1.7/lib/active_support/lazy_load_hooks.rb:67:in `block in execute_hook'
|
108
|
+
|
109
|
+
/usr/share/nginx/html/edamame/shared/bundle/ruby/2.3.0/gems/activesupport-5.1.7/lib/active_support/lazy_load_hooks.rb:60:in `with_execution_control'
|
110
|
+
|
111
|
+
/usr/share/nginx/html/edamame/shared/bundle/ruby/2.3.0/gems/activesupport-5.1.7/lib/active_support/lazy_load_hooks.rb:65:in `execute_hook'
|
112
|
+
|
113
|
+
/usr/share/nginx/html/edamame/shared/bundle/ruby/2.3.0/gems/activesupport-5.1.7/lib/active_support/lazy_load_hooks.rb:50:in `block in run_load_hooks'
|
114
|
+
|
115
|
+
/usr/share/nginx/html/edamame/shared/bundle/ruby/2.3.0/gems/activesupport-5.1.7/lib/active_support/lazy_load_hooks.rb:49:in `each'
|
116
|
+
|
117
|
+
/usr/share/nginx/html/edamame/shared/bundle/ruby/2.3.0/gems/activesupport-5.1.7/lib/active_support/lazy_load_hooks.rb:49:in `run_load_hooks'
|
118
|
+
|
119
|
+
/usr/share/nginx/html/edamame/shared/bundle/ruby/2.3.0/gems/railties-5.1.7/lib/rails/application/finisher.rb:73:in `block in <module:Finisher>'
|
120
|
+
|
121
|
+
/usr/share/nginx/html/edamame/shared/bundle/ruby/2.3.0/gems/railties-5.1.7/lib/rails/initializable.rb:30:in `instance_exec'
|
122
|
+
|
123
|
+
/usr/share/nginx/html/edamame/shared/bundle/ruby/2.3.0/gems/railties-5.1.7/lib/rails/initializable.rb:30:in `run'
|
124
|
+
|
125
|
+
/usr/share/nginx/html/edamame/shared/bundle/ruby/2.3.0/gems/railties-5.1.7/lib/rails/initializable.rb:59:in `block in run_initializers'
|
126
|
+
|
127
|
+
/usr/share/nginx/html/edamame/shared/bundle/ruby/2.3.0/gems/railties-5.1.7/lib/rails/initializable.rb:58:in `run_initializers'
|
128
|
+
|
129
|
+
/usr/share/nginx/html/edamame/shared/bundle/ruby/2.3.0/gems/railties-5.1.7/lib/rails/application.rb:353:in `initialize!'
|
130
|
+
|
131
|
+
/usr/share/nginx/html/edamame/releases/20190816154910/config/environment.rb:5:in `<top (required)>'
|
132
|
+
|
133
|
+
/usr/share/nginx/html/edamame/shared/bundle/ruby/2.3.0/gems/railties-5.1.7/lib/rails/application.rb:329:in `require'
|
134
|
+
|
135
|
+
/usr/share/nginx/html/edamame/shared/bundle/ruby/2.3.0/gems/railties-5.1.7/lib/rails/application.rb:329:in `require_environment!'
|
136
|
+
|
137
|
+
/usr/share/nginx/html/edamame/shared/bundle/ruby/2.3.0/gems/railties-5.1.7/lib/rails/application.rb:445:in `block in run_tasks_blocks'
|
138
|
+
|
139
|
+
/usr/share/nginx/html/edamame/shared/bundle/ruby/2.3.0/gems/sprockets-rails-3.2.1/lib/sprockets/rails/task.rb:
|
140
|
+
|
141
|
+
DEBUG [6223cbfb] 62:in `block (2 levels) in define'
|
142
|
+
|
143
|
+
/usr/share/nginx/html/edamame/shared/bundle/ruby/2.3.0/gems/rake-12.3.0/exe/rake:27:in `<top (required)>'
|
144
|
+
|
145
|
+
/usr/local/src/rbenv/versions/2.3.1/bin/bundle:23:in `load'
|
146
|
+
|
147
|
+
/usr/local/src/rbenv/versions/2.3.1/bin/bundle:23:in `<main>'
|
148
|
+
|
149
|
+
|
150
|
+
|
151
|
+
Caused by:
|
152
|
+
|
153
|
+
LoadError: cannot load such file -- listen
|
154
|
+
|
155
|
+
/usr/share/nginx/html/edamame/shared/bundle/ruby/2.3.0/gems/activesupport-5.1.7/lib/active_support/dependencies.rb:292:in `require'
|
156
|
+
|
157
|
+
/usr/share/nginx/html/edamame/shared/bundle/ruby/2.3.0/gems/activesupport-5.1.7/lib/active_support/dependencies.rb:292:in `block in require'
|
158
|
+
|
159
|
+
/usr/share/nginx/html/edamame/shared/bundle/ruby/2.3.0/gems/activesupport-5.1.7/lib/active_support/dependencies.rb:258:in `load_dependency'
|
160
|
+
|
161
|
+
/usr/share/nginx/html/edamame/shared/bundle/ruby/2.3.0/gems/activesupport-5.1.7/lib/active_support/dependencies.rb:292:in `require'
|
162
|
+
|
163
|
+
/usr/share/nginx/html/edamame/shared/bundle/ruby/2.3.0/gems/activesupport-5.1.7/lib/active_support/evented_file_update_checker.rb:59:in `block in initialize'
|
164
|
+
|
165
|
+
/usr/share/nginx/html/edamame/shared/bundle/ruby/2.3.0/gems/activesupport-5.1.7/lib/active_support/core_ext/kernel/reporting.rb:13:in `block in silence_warnings'
|
166
|
+
|
167
|
+
/usr/share/nginx/html/edamame/shared/bundle/ruby/2.3.0/gems/activesupport-5.1.7/lib/active_support/core_ext/kernel/reporting.rb:26:in `with_warnings'
|
168
|
+
|
169
|
+
/usr/share/nginx/html/edamame/shared/bundle/ruby/2.3.0/gems/activesupport-5.1.7/lib/active_support/core_ext/kernel/reporting.rb:13:in `silence_warnings'
|
170
|
+
|
171
|
+
/usr/share/nginx/html/edamame/shared/bundle/ruby/2.3.0/gems/activesupport-5.1.7/lib/active_support/evented_file_update_checker.rb:57:in `initialize'
|
172
|
+
|
173
|
+
/usr/share/nginx/html/edamame/shared/bundle/ruby/2.3.0/gems/activesupport-5.1.7/lib/active_support/i18n_railtie.rb:59:in `new'
|
174
|
+
|
175
|
+
/usr/share/nginx/html/edamame/shared/bundle/ruby/2.3.0/gems/activesupport-5.1.7/lib/active_support/i18n_railtie.rb:59:in `initialize_i18n'
|
176
|
+
|
177
|
+
/usr/share/nginx/html/edamame/shared/bundle/ruby/2.3.0/gems/activesupport-5.1.7/lib/active_support/i18n_railtie.rb:17:in `block in <class:Railtie>'
|
178
|
+
|
179
|
+
/usr/share/nginx/html/edamame/shared/bundle/ruby/2.3.0/gems/activesupport-5.1.7/lib/active_support/lazy_load_hooks.rb:67:in `block in execute_hook'
|
180
|
+
|
181
|
+
/usr/share/nginx/html/edamame/shared/bundle/ruby/2.3.0/gems/activesupport-5.1.7/lib/active_support/lazy_load_hooks.rb:60:in `with_execution_control'
|
182
|
+
|
183
|
+
/usr/share/nginx/html/edamame/shared/bundle/ruby/2.3.0/gems/activesupport-5.1.7/lib/active_support/lazy_load_hooks.rb:65:in `execute_hook'
|
184
|
+
|
185
|
+
/usr/share/nginx/html/edamame/shared/bundle/ruby/2.3.0/gems/activesupport-5.1.7/lib/active_support/lazy_load_hooks.rb:50:in `block in run_load_hooks'
|
186
|
+
|
187
|
+
/usr/share/nginx/html/edamame/shared/bundle/ruby/2.3.0/gems/activesupport-5.1.7/lib/active_support/lazy_load_hooks.rb:49:in `each'
|
188
|
+
|
189
|
+
/usr/share/nginx/html/edamame/shared/bundle/ruby/2.3.0/gems/activesupport-5.1.7/lib/active_support/lazy_load_hooks.rb:49:in `run_load_hooks'
|
190
|
+
|
191
|
+
/usr/share/nginx/html/edamame/shared/bundle/ruby/2.3.0/gems/railties-5.1.7/lib/rails/application/finisher.rb:73:in `block in <module:Finisher>'
|
192
|
+
|
193
|
+
/usr/share/nginx/html/edamame/shared/bundle/ruby/2.3.0/gems/railties-5.1.7/lib/rails/initializable.rb:30:in `instance_exec'
|
194
|
+
|
195
|
+
/usr/share/nginx/html/edamame/shared/bundle/ruby/2.3.0/gems/railties-5.1.7/lib/rails/initializable.rb:30:in `run'
|
196
|
+
|
197
|
+
/usr/share/nginx/html/edamame/shared/bundle/ruby/2.3.0/gems/railties-5.1.7/lib/rails/initializable.rb:59:in `block in run_initializers'
|
198
|
+
|
199
|
+
/usr/share/nginx/html/edamame/shared/bundle/ruby/2.3.0/gems/railties-5.1.7/lib/rails/initializable.rb:58:in `run_initializers'
|
200
|
+
|
201
|
+
/usr/share/nginx/html/edamame/shared/bundle/ruby/2.3.0/gems/railties-5.1.7/lib/rails/application.rb:353:in `initialize!'
|
202
|
+
|
203
|
+
/usr/share/nginx/html/edamame/releases/20190816154910/config/environment.rb:5:in `<top (required)>'
|
204
|
+
|
205
|
+
/usr/share/nginx/html/edamame/shared/bundle/ruby/2.3.0/gems/railties-5.1.7/lib/rails/application.rb:329:in `require'
|
206
|
+
|
207
|
+
/usr/share/nginx/html/edamame/shared/bundle/ruby/2.3.0/gems/railties-5.1.7/lib/rails/application.rb:329:in `require_environment!'
|
208
|
+
|
209
|
+
/usr/share/nginx/html/edamame/shared/bund
|
210
|
+
|
211
|
+
DEBUG [6223cbfb] le/ruby/2.3.0/gems/railties-5.1.7/lib/rails/application.rb:445:in `block in run_tasks_blocks'
|
212
|
+
|
213
|
+
/usr/share/nginx/html/edamame/shared/bundle/ruby/2.3.0/gems/sprockets-rails-3.2.1/lib/sprockets/rails/task.rb:62:in `block (2 levels) in define'
|
214
|
+
|
215
|
+
/usr/share/nginx/html/edamame/shared/bundle/ruby/2.3.0/gems/rake-12.3.0/exe/rake:27:in `<top (required)>'
|
216
|
+
|
217
|
+
/usr/local/src/rbenv/versions/2.3.1/bin/bundle:23:in `load'
|
218
|
+
|
219
|
+
/usr/local/src/rbenv/versions/2.3.1/bin/bundle:23:in `<main>'
|
220
|
+
|
221
|
+
Tasks: TOP => environment
|
222
|
+
|
223
|
+
(See full trace by running task with --trace)
|
224
|
+
|
225
|
+
```
|