質問編集履歴

1

追記情報

2021/09/27 14:09

投稿

yusuke22
yusuke22

スコア8

test CHANGED
File without changes
test CHANGED
@@ -173,3 +173,141 @@
173
173
  - Rails ver 6.1.4.1
174
174
 
175
175
  - VSCode ver 1.60.2
176
+
177
+
178
+
179
+ ### 追記情報
180
+
181
+ 直後にPumaサーバの停止を行い「rails s」コマンドにて再起動を行った際に下記エラーが発生してしまいました。
182
+
183
+
184
+
185
+ ```
186
+
187
+ LoadError (cannot load such file -- coffee_script):
188
+
189
+
190
+
191
+ bootsnap (1.9.1) lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:23:in `require'
192
+
193
+ bootsnap (1.9.1) lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:23:in `block in require_with_bootsnap_lfi'
194
+
195
+ bootsnap (1.9.1) lib/bootsnap/load_path_cache/loaded_features_index.rb:89:in `register'
196
+
197
+ bootsnap (1.9.1) lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:22:in `require_with_bootsnap_lfi'
198
+
199
+ bootsnap (1.9.1) lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:44:in `require'
200
+
201
+ zeitwerk (2.4.2) lib/zeitwerk/kernel.rb:34:in `require'
202
+
203
+ sprockets (4.0.2) lib/sprockets/autoload/coffee_script.rb:2:in `<main>'
204
+
205
+ bootsnap (1.9.1) lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:23:in `require'
206
+
207
+ bootsnap (1.9.1) lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:23:in `block in require_with_bootsnap_lfi'
208
+
209
+ bootsnap (1.9.1) lib/bootsnap/load_path_cache/loaded_features_index.rb:92:in `register'
210
+
211
+ bootsnap (1.9.1) lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:22:in `require_with_bootsnap_lfi'
212
+
213
+ bootsnap (1.9.1) lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:31:in `require'
214
+
215
+ zeitwerk (2.4.2) lib/zeitwerk/kernel.rb:34:in `require'
216
+
217
+ sprockets (4.0.2) lib/sprockets/coffee_script_processor.rb:17:in `cache_key'
218
+
219
+ sprockets (4.0.2) lib/sprockets/coffee_script_processor.rb:23:in `call'
220
+
221
+ sprockets (4.0.2) lib/sprockets/processor_utils.rb:84:in `call_processor'
222
+
223
+ sprockets (4.0.2) lib/sprockets/processor_utils.rb:66:in `block in call_processors'
224
+
225
+ sprockets (4.0.2) lib/sprockets/processor_utils.rb:65:in `reverse_each'
226
+
227
+ sprockets (4.0.2) lib/sprockets/processor_utils.rb:65:in `call_processors'
228
+
229
+ sprockets (4.0.2) lib/sprockets/processor_utils.rb:22:in `block in <class:CompositeProcessor>'
230
+
231
+ sprockets (4.0.2) lib/sprockets/processor_utils.rb:33:in `call'
232
+
233
+ sprockets (4.0.2) lib/sprockets/processor_utils.rb:84:in `call_processor'
234
+
235
+ sprockets (4.0.2) lib/sprockets/processor_utils.rb:66:in `block in call_processors'
236
+
237
+ sprockets (4.0.2) lib/sprockets/processor_utils.rb:65:in `reverse_each'
238
+
239
+ sprockets (4.0.2) lib/sprockets/processor_utils.rb:65:in `call_processors'
240
+
241
+ sprockets (4.0.2) lib/sprockets/loader.rb:182:in `load_from_unloaded'
242
+
243
+ sprockets (4.0.2) lib/sprockets/loader.rb:59:in `block in load'
244
+
245
+ sprockets (4.0.2) lib/sprockets/loader.rb:337:in `fetch_asset_from_dependency_cache'
246
+
247
+ sprockets (4.0.2) lib/sprockets/loader.rb:43:in `load'
248
+
249
+ sprockets (4.0.2) lib/sprockets/cached_environment.rb:44:in `load'
250
+
251
+ sprockets (4.0.2) lib/sprockets/bundle.rb:27:in `call'
252
+
253
+ sprockets (4.0.2) lib/sprockets/processor_utils.rb:84:in `call_processor'
254
+
255
+ sprockets (4.0.2) lib/sprockets/processor_utils.rb:66:in `block in call_processors'
256
+
257
+ sprockets (4.0.2) lib/sprockets/processor_utils.rb:65:in `reverse_each'
258
+
259
+ sprockets (4.0.2) lib/sprockets/processor_utils.rb:65:in `call_processors'
260
+
261
+ sprockets (4.0.2) lib/sprockets/loader.rb:182:in `load_from_unloaded'
262
+
263
+ sprockets (4.0.2) lib/sprockets/loader.rb:59:in `block in load'
264
+
265
+ sprockets (4.0.2) lib/sprockets/loader.rb:337:in `fetch_asset_from_dependency_cache'
266
+
267
+ sprockets (4.0.2) lib/sprockets/loader.rb:43:in `load'
268
+
269
+ sprockets (4.0.2) lib/sprockets/cached_environment.rb:44:in `load'
270
+
271
+ sprockets (4.0.2) lib/sprockets/base.rb:81:in `find_asset'
272
+
273
+ sprockets (4.0.2) lib/sprockets/base.rb:88:in `find_all_linked_assets'
274
+
275
+ sprockets (4.0.2) lib/sprockets/manifest.rb:125:in `block (2 levels) in find'
276
+
277
+ concurrent-ruby (1.1.9) lib/concurrent-ruby/concurrent/executor/safe_task_executor.rb:24:in `block in execute'
278
+
279
+ concurrent-ruby (1.1.9) lib/concurrent-ruby/concurrent/synchronization/mutex_lockable_object.rb:47:in `block in synchronize'
280
+
281
+ concurrent-ruby (1.1.9) lib/concurrent-ruby/concurrent/synchronization/mutex_lockable_object.rb:47:in `synchronize'
282
+
283
+ concurrent-ruby (1.1.9) lib/concurrent-ruby/concurrent/synchronization/mutex_lockable_object.rb:47:in `synchronize'
284
+
285
+ concurrent-ruby (1.1.9) lib/concurrent-ruby/concurrent/executor/safe_task_executor.rb:19:in `execute'
286
+
287
+ concurrent-ruby (1.1.9) lib/concurrent-ruby/concurrent/promise.rb:564:in `block in realize'
288
+
289
+ concurrent-ruby (1.1.9) lib/concurrent-ruby/concurrent/executor/ruby_thread_pool_executor.rb:363:in `run_task'
290
+
291
+ concurrent-ruby (1.1.9) lib/concurrent-ruby/concurrent/executor/ruby_thread_pool_executor.rb:352:in `block (3 levels) in create_worker'
292
+
293
+ concurrent-ruby (1.1.9) lib/concurrent-ruby/concurrent/executor/ruby_thread_pool_executor.rb:335:in `loop'
294
+
295
+ concurrent-ruby (1.1.9) lib/concurrent-ruby/concurrent/executor/ruby_thread_pool_executor.rb:335:in `block (2 levels) in create_worker'
296
+
297
+ concurrent-ruby (1.1.9) lib/concurrent-ruby/concurrent/executor/ruby_thread_pool_executor.rb:334:in `catch'
298
+
299
+ concurrent-ruby (1.1.9) lib/concurrent-ruby/concurrent/executor/ruby_thread_pool_executor.rb:334:in `block in create_worker'
300
+
301
+ ```
302
+
303
+
304
+
305
+ 調べたところ、起動エラーとのことなのですが、下記を実施した際も変わらずでした。
306
+
307
+ どなたかお分かりでしたらご教示いただけますと幸いです。
308
+
309
+
310
+
311
+ bin/rake tmp:cache:clear
312
+
313
+ bundle update coffee-script-source