我正在AWS Cloud9上运行Ubuntu,并在此处进行了教程:https://www.railstutorial.org/book/toy_app#code-hello_root_route_redux
当我尝试运行时:rails generate scaffold User name:string email:string
我收到了所有我无法解码的垃圾:
ubuntu:~/environment/toy_app (master) $ rails generate scaffold User name:string email:string
Traceback (most recent call last):
bin/rails: Bootsnap::LoadPathCache::FallbackScan
64: from bin/rails:4:in `<main>'
63: from /home/ubuntu/environment/toy_app/vendor/bundle/ruby/2.6.0/gems/activesupport-6.0.1/lib/active_support/dependencies.rb:325:in `require'
62: from /home/ubuntu/environment/toy_app/vendor/bundle/ruby/2.6.0/gems/activesupport-6.0.1/lib/active_support/dependencies.rb:291:in `load_dependency'
61: from /home/ubuntu/environment/toy_app/vendor/bundle/ruby/2.6.0/gems/activesupport-6.0.1/lib/active_support/dependencies.rb:325:in `block in require'
60: from /home/ubuntu/environment/toy_app/vendor/bundle/ruby/2.6.0/gems/bootsnap-1.4.4/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:30:in `require'
59: from /home/ubuntu/environment/toy_app/vendor/bundle/ruby/2.6.0/gems/bootsnap-1.4.4/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:21:in `require_with_bootsnap_lfi'
58: from /home/ubuntu/environment/toy_app/vendor/bundle/ruby/2.6.0/gems/bootsnap-1.4.4/lib/bootsnap/load_path_cache/loaded_features_index.rb:92:in `register'
57: from /home/ubuntu/environment/toy_app/vendor/bundle/ruby/2.6.0/gems/bootsnap-1.4.4/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:22:in `block in require_with_bootsnap_lfi'
56: from /home/ubuntu/environment/toy_app/vendor/bundle/ruby/2.6.0/gems/bootsnap-1.4.4/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:22:in `require'
55: from /home/ubuntu/environment/toy_app/vendor/bundle/ruby/2.6.0/gems/railties-6.0.1/lib/rails/commands.rb:18:in `<main>'
54: from /home/ubuntu/environment/toy_app/vendor/bundle/ruby/2.6.0/gems/railties-6.0.1/lib/rails/command.rb:46:in `invoke'
53: from /home/ubuntu/environment/toy_app/vendor/bundle/ruby/2.6.0/gems/railties-6.0.1/lib/rails/command/base.rb:65:in `perform'
52: from /home/ubuntu/environment/toy_app/vendor/bundle/ruby/2.6.0/gems/thor-0.20.3/lib/thor.rb:387:in `dispatch'
51: from /home/ubuntu/environment/toy_app/vendor/bundle/ruby/2.6.0/gems/thor-0.20.3/lib/thor/invocation.rb:126:in `invoke_command'
50: from /home/ubuntu/environment/toy_app/vendor/bundle/ruby/2.6.0/gems/thor-0.20.3/lib/thor/command.rb:27:in `run'
49: from /home/ubuntu/environment/toy_app/vendor/bundle/ruby/2.6.0/gems/railties-6.0.1/lib/rails/commands/generate/generate_command.rb:21:in `perform'
48: from /home/ubuntu/environment/toy_app/vendor/bundle/ruby/2.6.0/gems/railties-6.0.1/lib/rails/command/actions.rb:15:in `require_application_and_environment!'
47: from /home/ubuntu/environment/toy_app/vendor/bundle/ruby/2.6.0/gems/railties-6.0.1/lib/rails/command/actions.rb:28:in `require_environment!'
46: from /home/ubuntu/environment/toy_app/vendor/bundle/ruby/2.6.0/gems/railties-6.0.1/lib/rails/application.rb:339:in `require_environment!'
45: from /home/ubuntu/environment/toy_app/vendor/bundle/ruby/2.6.0/gems/activesupport-6.0.1/lib/active_support/dependencies.rb:325:in `require'
44: from /home/ubuntu/environment/toy_app/vendor/bundle/ruby/2.6.0/gems/activesupport-6.0.1/lib/active_support/dependencies.rb:291:in `load_dependency'
43: from /home/ubuntu/environment/toy_app/vendor/bundle/ruby/2.6.0/gems/activesupport-6.0.1/lib/active_support/dependencies.rb:325:in `block in require'
42: from /home/ubuntu/environment/toy_app/vendor/bundle/ruby/2.6.0/gems/zeitwerk-2.2.2/lib/zeitwerk/kernel.rb:23:in `require'
41: from /home/ubuntu/environment/toy_app/vendor/bundle/ruby/2.6.0/gems/bootsnap-1.4.4/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:30:in `require'
40: from /home/ubuntu/environment/toy_app/vendor/bundle/ruby/2.6.0/gems/bootsnap-1.4.4/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:21:in `require_with_bootsnap_lfi'
39: from /home/ubuntu/environment/toy_app/vendor/bundle/ruby/2.6.0/gems/bootsnap-1.4.4/lib/bootsnap/load_path_cache/loaded_features_index.rb:92:in `register'
38: from /home/ubuntu/environment/toy_app/vendor/bundle/ruby/2.6.0/gems/bootsnap-1.4.4/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:22:in `block in require_with_bootsnap_lfi'
37: from /home/ubuntu/environment/toy_app/vendor/bundle/ruby/2.6.0/gems/bootsnap-1.4.4/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:22:in `require'
36: from /home/ubuntu/environment/toy_app/config/environment.rb:6:in `<main>'
35: from /home/ubuntu/environment/toy_app/vendor/bundle/ruby/2.6.0/gems/railties-6.0.1/lib/rails/application.rb:363:in `initialize!'
34: from /home/ubuntu/environment/toy_app/vendor/bundle/ruby/2.6.0/gems/railties-6.0.1/lib/rails/initializable.rb:60:in `run_initializers'
33: from /home/ubuntu/.rvm/rubies/ruby-2.6.3/lib/ruby/2.6.0/tsort.rb:205:in `tsort_each'
32: from /home/ubuntu/.rvm/rubies/ruby-2.6.3/lib/ruby/2.6.0/tsort.rb:226:in `tsort_each'
31: from /home/ubuntu/.rvm/rubies/ruby-2.6.3/lib/ruby/2.6.0/tsort.rb:347:in `each_strongly_connected_component'
30: from /home/ubuntu/.rvm/rubies/ruby-2.6.3/lib/ruby/2.6.0/tsort.rb:347:in `call'
29: from /home/ubuntu/.rvm/rubies/ruby-2.6.3/lib/ruby/2.6.0/tsort.rb:347:in `each'
28: from /home/ubuntu/.rvm/rubies/ruby-2.6.3/lib/ruby/2.6.0/tsort.rb:349:in `block in each_strongly_connected_component'
27: from /home/ubuntu/.rvm/rubies/ruby-2.6.3/lib/ruby/2.6.0/tsort.rb:431:in `each_strongly_connected_component_from'
26: from /home/ubuntu/.rvm/rubies/ruby-2.6.3/lib/ruby/2.6.0/tsort.rb:350:in `block (2 levels) in each_strongly_connected_component'
25: from /home/ubuntu/.rvm/rubies/ruby-2.6.3/lib/ruby/2.6.0/tsort.rb:228:in `block in tsort_each'
24: from /home/ubuntu/environment/toy_app/vendor/bundle/ruby/2.6.0/gems/railties-6.0.1/lib/rails/initializable.rb:61:in `block in run_initializers'
23: from /home/ubuntu/environment/toy_app/vendor/bundle/ruby/2.6.0/gems/railties-6.0.1/lib/rails/initializable.rb:32:in `run'
22: from /home/ubuntu/environment/toy_app/vendor/bundle/ruby/2.6.0/gems/railties-6.0.1/lib/rails/initializable.rb:32:in `instance_exec'
21: from /home/ubuntu/environment/toy_app/vendor/bundle/ruby/2.6.0/gems/railties-6.0.1/lib/rails/application/finisher.rb:129:in `block in <module:Finisher>'
20: from /home/ubuntu/environment/toy_app/vendor/bundle/ruby/2.6.0/gems/activesupport-6.0.1/lib/active_support/lazy_load_hooks.rb:51:in `run_load_hooks'
19: from /home/ubuntu/environment/toy_app/vendor/bundle/ruby/2.6.0/gems/activesupport-6.0.1/lib/active_support/lazy_load_hooks.rb:51:in `each'
18: from /home/ubuntu/environment/toy_app/vendor/bundle/ruby/2.6.0/gems/activesupport-6.0.1/lib/active_support/lazy_load_hooks.rb:52:in `block in run_load_hooks'
17: from /home/ubuntu/environment/toy_app/vendor/bundle/ruby/2.6.0/gems/activesupport-6.0.1/lib/active_support/lazy_load_hooks.rb:67:in `execute_hook'
16: from /home/ubuntu/environment/toy_app/vendor/bundle/ruby/2.6.0/gems/activesupport-6.0.1/lib/active_support/lazy_load_hooks.rb:62:in `with_execution_control'
15: from /home/ubuntu/environment/toy_app/vendor/bundle/ruby/2.6.0/gems/activesupport-6.0.1/lib/active_support/lazy_load_hooks.rb:69:in `block in execute_hook'
14: from /home/ubuntu/environment/toy_app/vendor/bundle/ruby/2.6.0/gems/activesupport-6.0.1/lib/active_support/i18n_railtie.rb:18:in `block in <class:Railtie>'
13: from /home/ubuntu/environment/toy_app/vendor/bundle/ruby/2.6.0/gems/activesupport-6.0.1/lib/active_support/i18n_railtie.rb:60:in `initialize_i18n'
12: from /home/ubuntu/environment/toy_app/vendor/bundle/ruby/2.6.0/gems/activesupport-6.0.1/lib/active_support/i18n_railtie.rb:60:in `new'
11: from /home/ubuntu/environment/toy_app/vendor/bundle/ruby/2.6.0/gems/activesupport-6.0.1/lib/active_support/evented_file_update_checker.rb:62:in `initialize'
10: from /home/ubuntu/environment/toy_app/vendor/bundle/ruby/2.6.0/gems/activesupport-6.0.1/lib/active_support/core_ext/kernel/reporting.rb:15:in `silence_warnings'
9: from /home/ubuntu/environment/toy_app/vendor/bundle/ruby/2.6.0/gems/activesupport-6.0.1/lib/active_support/core_ext/kernel/reporting.rb:28:in `with_warnings'
8: from /home/ubuntu/environment/toy_app/vendor/bundle/ruby/2.6.0/gems/activesupport-6.0.1/lib/active_support/core_ext/kernel/reporting.rb:15:in `block in silence_warnings'
7: from /home/ubuntu/environment/toy_app/vendor/bundle/ruby/2.6.0/gems/activesupport-6.0.1/lib/active_support/evented_file_update_checker.rb:63:in `block in initialize'
6: from /home/ubuntu/environment/toy_app/vendor/bundle/ruby/2.6.0/gems/zeitwerk-2.2.2/lib/zeitwerk/kernel.rb:23:in `require'
5: from /home/ubuntu/environment/toy_app/vendor/bundle/ruby/2.6.0/gems/bootsnap-1.4.4/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:26:in `require'
4: from /home/ubuntu/environment/toy_app/vendor/bundle/ruby/2.6.0/gems/bootsnap-1.4.4/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:40:in `rescue in require'
3: from /home/ubuntu/environment/toy_app/vendor/bundle/ruby/2.6.0/gems/bootsnap-1.4.4/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:21:in `require_with_bootsnap_lfi'
2: from /home/ubuntu/environment/toy_app/vendor/bundle/ruby/2.6.0/gems/bootsnap-1.4.4/lib/bootsnap/load_path_cache/loaded_features_index.rb:89:in `register'
1: from /home/ubuntu/environment/toy_app/vendor/bundle/ruby/2.6.0/gems/bootsnap-1.4.4/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:22:in `block in require_with_bootsnap_lfi'
/home/ubuntu/environment/toy_app/vendor/bundle/ruby/2.6.0/gems/bootsnap-1.4.4/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:22:in `require': cannot load such file -- listen (LoadError)
64: from bin/rails:4:in `<main>'
63: from /home/ubuntu/environment/toy_app/vendor/bundle/ruby/2.6.0/gems/activesupport-6.0.1/lib/active_support/dependencies.rb:325:in `require'
62: from /home/ubuntu/environment/toy_app/vendor/bundle/ruby/2.6.0/gems/activesupport-6.0.1/lib/active_support/dependencies.rb:291:in `load_dependency'
61: from /home/ubuntu/environment/toy_app/vendor/bundle/ruby/2.6.0/gems/activesupport-6.0.1/lib/active_support/dependencies.rb:325:in `block in require'
60: from /home/ubuntu/environment/toy_app/vendor/bundle/ruby/2.6.0/gems/bootsnap-1.4.4/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:30:in `require'
59: from /home/ubuntu/environment/toy_app/vendor/bundle/ruby/2.6.0/gems/bootsnap-1.4.4/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:21:in `require_with_bootsnap_lfi'
58: from /home/ubuntu/environment/toy_app/vendor/bundle/ruby/2.6.0/gems/bootsnap-1.4.4/lib/bootsnap/load_path_cache/loaded_features_index.rb:92:in `register'
57: from /home/ubuntu/environment/toy_app/vendor/bundle/ruby/2.6.0/gems/bootsnap-1.4.4/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:22:in `block in require_with_bootsnap_lfi'
56: from /home/ubuntu/environment/toy_app/vendor/bundle/ruby/2.6.0/gems/bootsnap-1.4.4/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:22:in `require'
55: from /home/ubuntu/environment/toy_app/vendor/bundle/ruby/2.6.0/gems/railties-6.0.1/lib/rails/commands.rb:18:in `<main>'
54: from /home/ubuntu/environment/toy_app/vendor/bundle/ruby/2.6.0/gems/railties-6.0.1/lib/rails/command.rb:46:in `invoke'
53: from /home/ubuntu/environment/toy_app/vendor/bundle/ruby/2.6.0/gems/railties-6.0.1/lib/rails/command/base.rb:65:in `perform'
52: from /home/ubuntu/environment/toy_app/vendor/bundle/ruby/2.6.0/gems/thor-0.20.3/lib/thor.rb:387:in `dispatch'
51: from /home/ubuntu/environment/toy_app/vendor/bundle/ruby/2.6.0/gems/thor-0.20.3/lib/thor/invocation.rb:126:in `invoke_command'
50: from /home/ubuntu/environment/toy_app/vendor/bundle/ruby/2.6.0/gems/thor-0.20.3/lib/thor/command.rb:27:in `run'
49: from /home/ubuntu/environment/toy_app/vendor/bundle/ruby/2.6.0/gems/railties-6.0.1/lib/rails/commands/generate/generate_command.rb:21:in `perform'
48: from /home/ubuntu/environment/toy_app/vendor/bundle/ruby/2.6.0/gems/railties-6.0.1/lib/rails/command/actions.rb:15:in `require_application_and_environment!'
47: from /home/ubuntu/environment/toy_app/vendor/bundle/ruby/2.6.0/gems/railties-6.0.1/lib/rails/command/actions.rb:28:in `require_environment!'
46: from /home/ubuntu/environment/toy_app/vendor/bundle/ruby/2.6.0/gems/railties-6.0.1/lib/rails/application.rb:339:in `require_environment!'
45: from /home/ubuntu/environment/toy_app/vendor/bundle/ruby/2.6.0/gems/activesupport-6.0.1/lib/active_support/dependencies.rb:325:in `require'
44: from /home/ubuntu/environment/toy_app/vendor/bundle/ruby/2.6.0/gems/activesupport-6.0.1/lib/active_support/dependencies.rb:291:in `load_dependency'
43: from /home/ubuntu/environment/toy_app/vendor/bundle/ruby/2.6.0/gems/activesupport-6.0.1/lib/active_support/dependencies.rb:325:in `block in require'
42: from /home/ubuntu/environment/toy_app/vendor/bundle/ruby/2.6.0/gems/zeitwerk-2.2.2/lib/zeitwerk/kernel.rb:23:in `require'
41: from /home/ubuntu/environment/toy_app/vendor/bundle/ruby/2.6.0/gems/bootsnap-1.4.4/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:30:in `require'
40: from /home/ubuntu/environment/toy_app/vendor/bundle/ruby/2.6.0/gems/bootsnap-1.4.4/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:21:in `require_with_bootsnap_lfi'
39: from /home/ubuntu/environment/toy_app/vendor/bundle/ruby/2.6.0/gems/bootsnap-1.4.4/lib/bootsnap/load_path_cache/loaded_features_index.rb:92:in `register'
38: from /home/ubuntu/environment/toy_app/vendor/bundle/ruby/2.6.0/gems/bootsnap-1.4.4/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:22:in `block in require_with_bootsnap_lfi'
37: from /home/ubuntu/environment/toy_app/vendor/bundle/ruby/2.6.0/gems/bootsnap-1.4.4/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:22:in `require'
36: from /home/ubuntu/environment/toy_app/config/environment.rb:6:in `<main>'
35: from /home/ubuntu/environment/toy_app/vendor/bundle/ruby/2.6.0/gems/railties-6.0.1/lib/rails/application.rb:363:in `initialize!'
34: from /home/ubuntu/environment/toy_app/vendor/bundle/ruby/2.6.0/gems/railties-6.0.1/lib/rails/initializable.rb:60:in `run_initializers'
33: from /home/ubuntu/.rvm/rubies/ruby-2.6.3/lib/ruby/2.6.0/tsort.rb:205:in `tsort_each'
32: from /home/ubuntu/.rvm/rubies/ruby-2.6.3/lib/ruby/2.6.0/tsort.rb:226:in `tsort_each'
31: from /home/ubuntu/.rvm/rubies/ruby-2.6.3/lib/ruby/2.6.0/tsort.rb:347:in `each_strongly_connected_component'
30: from /home/ubuntu/.rvm/rubies/ruby-2.6.3/lib/ruby/2.6.0/tsort.rb:347:in `call'
29: from /home/ubuntu/.rvm/rubies/ruby-2.6.3/lib/ruby/2.6.0/tsort.rb:347:in `each'
28: from /home/ubuntu/.rvm/rubies/ruby-2.6.3/lib/ruby/2.6.0/tsort.rb:349:in `block in each_strongly_connected_component'
27: from /home/ubuntu/.rvm/rubies/ruby-2.6.3/lib/ruby/2.6.0/tsort.rb:431:in `each_strongly_connected_component_from'
26: from /home/ubuntu/.rvm/rubies/ruby-2.6.3/lib/ruby/2.6.0/tsort.rb:350:in `block (2 levels) in each_strongly_connected_component'
25: from /home/ubuntu/.rvm/rubies/ruby-2.6.3/lib/ruby/2.6.0/tsort.rb:228:in `block in tsort_each'
24: from /home/ubuntu/environment/toy_app/vendor/bundle/ruby/2.6.0/gems/railties-6.0.1/lib/rails/initializable.rb:61:in `block in run_initializers'
23: from /home/ubuntu/environment/toy_app/vendor/bundle/ruby/2.6.0/gems/railties-6.0.1/lib/rails/initializable.rb:32:in `run'
22: from /home/ubuntu/environment/toy_app/vendor/bundle/ruby/2.6.0/gems/railties-6.0.1/lib/rails/initializable.rb:32:in `instance_exec'
21: from /home/ubuntu/environment/toy_app/vendor/bundle/ruby/2.6.0/gems/railties-6.0.1/lib/rails/application/finisher.rb:129:in `block in <module:Finisher>'
20: from /home/ubuntu/environment/toy_app/vendor/bundle/ruby/2.6.0/gems/activesupport-6.0.1/lib/active_support/lazy_load_hooks.rb:51:in `run_load_hooks'
19: from /home/ubuntu/environment/toy_app/vendor/bundle/ruby/2.6.0/gems/activesupport-6.0.1/lib/active_support/lazy_load_hooks.rb:51:in `each'
18: from /home/ubuntu/environment/toy_app/vendor/bundle/ruby/2.6.0/gems/activesupport-6.0.1/lib/active_support/lazy_load_hooks.rb:52:in `block in run_load_hooks'
17: from /home/ubuntu/environment/toy_app/vendor/bundle/ruby/2.6.0/gems/activesupport-6.0.1/lib/active_support/lazy_load_hooks.rb:67:in `execute_hook'
16: from /home/ubuntu/environment/toy_app/vendor/bundle/ruby/2.6.0/gems/activesupport-6.0.1/lib/active_support/lazy_load_hooks.rb:62:in `with_execution_control'
15: from /home/ubuntu/environment/toy_app/vendor/bundle/ruby/2.6.0/gems/activesupport-6.0.1/lib/active_support/lazy_load_hooks.rb:69:in `block in execute_hook'
14: from /home/ubuntu/environment/toy_app/vendor/bundle/ruby/2.6.0/gems/activesupport-6.0.1/lib/active_support/i18n_railtie.rb:18:in `block in <class:Railtie>'
13: from /home/ubuntu/environment/toy_app/vendor/bundle/ruby/2.6.0/gems/activesupport-6.0.1/lib/active_support/i18n_railtie.rb:60:in `initialize_i18n'
12: from /home/ubuntu/environment/toy_app/vendor/bundle/ruby/2.6.0/gems/activesupport-6.0.1/lib/active_support/i18n_railtie.rb:60:in `new'
11: from /home/ubuntu/environment/toy_app/vendor/bundle/ruby/2.6.0/gems/activesupport-6.0.1/lib/active_support/evented_file_update_checker.rb:62:in `initialize'
10: from /home/ubuntu/environment/toy_app/vendor/bundle/ruby/2.6.0/gems/activesupport-6.0.1/lib/active_support/core_ext/kernel/reporting.rb:15:in `silence_warnings'
9: from /home/ubuntu/environment/toy_app/vendor/bundle/ruby/2.6.0/gems/activesupport-6.0.1/lib/active_support/core_ext/kernel/reporting.rb:28:in `with_warnings'
8: from /home/ubuntu/environment/toy_app/vendor/bundle/ruby/2.6.0/gems/activesupport-6.0.1/lib/active_support/core_ext/kernel/reporting.rb:15:in `block in silence_warnings'
7: from /home/ubuntu/environment/toy_app/vendor/bundle/ruby/2.6.0/gems/activesupport-6.0.1/lib/active_support/evented_file_update_checker.rb:63:in `block in initialize'
6: from /home/ubuntu/environment/toy_app/vendor/bundle/ruby/2.6.0/gems/zeitwerk-2.2.2/lib/zeitwerk/kernel.rb:23:in `require'
5: from /home/ubuntu/environment/toy_app/vendor/bundle/ruby/2.6.0/gems/bootsnap-1.4.4/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:26:in `require'
4: from /home/ubuntu/environment/toy_app/vendor/bundle/ruby/2.6.0/gems/bootsnap-1.4.4/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:40:in `rescue in require'
3: from /home/ubuntu/environment/toy_app/vendor/bundle/ruby/2.6.0/gems/bootsnap-1.4.4/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:21:in `require_with_bootsnap_lfi'
2: from /home/ubuntu/environment/toy_app/vendor/bundle/ruby/2.6.0/gems/bootsnap-1.4.4/lib/bootsnap/load_path_cache/loaded_features_index.rb:89:in `register'
1: from /home/ubuntu/environment/toy_app/vendor/bundle/ruby/2.6.0/gems/bootsnap-1.4.4/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:22:in `block in require_with_bootsnap_lfi'
/home/ubuntu/environment/toy_app/vendor/bundle/ruby/2.6.0/gems/bootsnap-1.4.4/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:22:in `require': Could not load the 'listen' gem. Add `gem 'listen'` to the development group of your Gemfile (LoadError)
我尝试过的事情:spring stop
,再试一次,注释掉春季和春季观看者听的宝石,bundle install
,bundle update
,bundle install
,令人耳目一新,不要不知道。 Heroku仍处于启动状态,这很好。但是我无法解码这个荒谬的错误消息。我将在下面包含我的gemfile和gemfile.lock的副本:
source 'https://rubygems.org'
git_source(:github) { |repo| "https://github.com/#{repo}.git" }
gem 'rails', '6.0.1'
gem 'puma', '3.12.1'
gem 'sass-rails', '5.1.0'
gem 'webpacker', '4.0.7'
gem 'turbolinks', '5.2.0'
gem 'jbuilder', '2.9.1'
gem 'bootsnap', '1.4.4', require: false
group :development, :test do
gem 'sqlite3', '1.4.1'
gem 'byebug', '11.0.1', platforms: [:mri, :mingw, :x64_mingw]
end
group :development do
gem 'web-console', '4.0.1'
gem 'listen', '3.1.5'
gem 'spring', '2.1.0'
gem 'spring-watcher-listen', '2.0.1'
end
group :test do
gem 'capybara', '3.28.0'
gem 'selenium-webdriver', '3.142.4'
gem 'webdrivers', '4.1.2'
end
group :production do
gem 'pg', '1.1.4'
end
# Windows does not include zoneinfo files, so bundle the tzinfo-data gem
gem 'tzinfo-data', platforms: [:mingw, :mswin, :x64_mingw, :jruby]
GEM
remote: https://rubygems.org/
specs:
actioncable (6.0.1)
actionpack (= 6.0.1)
nio4r (~> 2.0)
websocket-driver (>= 0.6.1)
actionmailbox (6.0.1)
actionpack (= 6.0.1)
activejob (= 6.0.1)
activerecord (= 6.0.1)
activestorage (= 6.0.1)
activesupport (= 6.0.1)
mail (>= 2.7.1)
actionmailer (6.0.1)
actionpack (= 6.0.1)
actionview (= 6.0.1)
activejob (= 6.0.1)
mail (~> 2.5, >= 2.5.4)
rails-dom-testing (~> 2.0)
actionpack (6.0.1)
actionview (= 6.0.1)
activesupport (= 6.0.1)
rack (~> 2.0)
rack-test (>= 0.6.3)
rails-dom-testing (~> 2.0)
rails-html-sanitizer (~> 1.0, >= 1.2.0)
actiontext (6.0.1)
actionpack (= 6.0.1)
activerecord (= 6.0.1)
activestorage (= 6.0.1)
activesupport (= 6.0.1)
nokogiri (>= 1.8.5)
actionview (6.0.1)
activesupport (= 6.0.1)
builder (~> 3.1)
erubi (~> 1.4)
rails-dom-testing (~> 2.0)
rails-html-sanitizer (~> 1.1, >= 1.2.0)
activejob (6.0.1)
activesupport (= 6.0.1)
globalid (>= 0.3.6)
activemodel (6.0.1)
activesupport (= 6.0.1)
activerecord (6.0.1)
activemodel (= 6.0.1)
activesupport (= 6.0.1)
activestorage (6.0.1)
actionpack (= 6.0.1)
activejob (= 6.0.1)
activerecord (= 6.0.1)
marcel (~> 0.3.1)
activesupport (6.0.1)
concurrent-ruby (~> 1.0, >= 1.0.2)
i18n (>= 0.7, < 2)
minitest (~> 5.1)
tzinfo (~> 1.1)
zeitwerk (~> 2.2)
addressable (2.7.0)
public_suffix (>= 2.0.2, < 5.0)
bindex (0.8.1)
bootsnap (1.4.4)
msgpack (~> 1.0)
builder (3.2.3)
byebug (11.0.1)
capybara (3.28.0)
addressable
mini_mime (>= 0.1.3)
nokogiri (~> 1.8)
rack (>= 1.6.0)
rack-test (>= 0.6.3)
regexp_parser (~> 1.5)
xpath (~> 3.2)
childprocess (2.0.0)
rake (< 13.0)
concurrent-ruby (1.1.5)
crass (1.0.5)
erubi (1.9.0)
ffi (1.11.3)
globalid (0.4.2)
activesupport (>= 4.2.0)
i18n (1.7.0)
concurrent-ruby (~> 1.0)
jbuilder (2.9.1)
activesupport (>= 4.2.0)
listen (3.1.5)
rb-fsevent (~> 0.9, >= 0.9.4)
rb-inotify (~> 0.9, >= 0.9.7)
ruby_dep (~> 1.2)
loofah (2.4.0)
crass (~> 1.0.2)
nokogiri (>= 1.5.9)
mail (2.7.1)
mini_mime (>= 0.1.1)
marcel (0.3.3)
mimemagic (~> 0.3.2)
method_source (0.9.2)
mimemagic (0.3.3)
mini_mime (1.0.2)
mini_portile2 (2.4.0)
minitest (5.13.0)
msgpack (1.3.1)
nio4r (2.5.2)
nokogiri (1.10.5)
mini_portile2 (~> 2.4.0)
pg (1.1.4)
public_suffix (4.0.1)
puma (3.12.1)
rack (2.0.7)
rack-proxy (0.6.5)
rack
rack-test (1.1.0)
rack (>= 1.0, < 3)
rails (6.0.1)
actioncable (= 6.0.1)
actionmailbox (= 6.0.1)
actionmailer (= 6.0.1)
actionpack (= 6.0.1)
actiontext (= 6.0.1)
actionview (= 6.0.1)
activejob (= 6.0.1)
activemodel (= 6.0.1)
activerecord (= 6.0.1)
activestorage (= 6.0.1)
activesupport (= 6.0.1)
bundler (>= 1.3.0)
railties (= 6.0.1)
sprockets-rails (>= 2.0.0)
rails-dom-testing (2.0.3)
activesupport (>= 4.2.0)
nokogiri (>= 1.6)
rails-html-sanitizer (1.3.0)
loofah (~> 2.3)
railties (6.0.1)
actionpack (= 6.0.1)
activesupport (= 6.0.1)
method_source
rake (>= 0.8.7)
thor (>= 0.20.3, < 2.0)
rake (12.3.3)
rb-fsevent (0.10.3)
rb-inotify (0.10.0)
ffi (~> 1.0)
regexp_parser (1.6.0)
ruby_dep (1.5.0)
rubyzip (1.3.0)
sass (3.7.4)
sass-listen (~> 4.0.0)
sass-listen (4.0.0)
rb-fsevent (~> 0.9, >= 0.9.4)
rb-inotify (~> 0.9, >= 0.9.7)
sass-rails (5.1.0)
railties (>= 5.2.0)
sass (~> 3.1)
sprockets (>= 2.8, < 4.0)
sprockets-rails (>= 2.0, < 4.0)
tilt (>= 1.1, < 3)
selenium-webdriver (3.142.4)
childprocess (>= 0.5, < 3.0)
rubyzip (~> 1.2, >= 1.2.2)
spring (2.1.0)
spring-watcher-listen (2.0.1)
listen (>= 2.7, < 4.0)
spring (>= 1.2, < 3.0)
sprockets (3.7.2)
concurrent-ruby (~> 1.0)
rack (> 1, < 3)
sprockets-rails (3.2.1)
actionpack (>= 4.0)
activesupport (>= 4.0)
sprockets (>= 3.0.0)
sqlite3 (1.4.1)
thor (0.20.3)
thread_safe (0.3.6)
tilt (2.0.10)
turbolinks (5.2.0)
turbolinks-source (~> 5.2)
turbolinks-source (5.2.0)
tzinfo (1.2.5)
thread_safe (~> 0.1)
web-console (4.0.1)
actionview (>= 6.0.0)
activemodel (>= 6.0.0)
bindex (>= 0.4.0)
railties (>= 6.0.0)
webdrivers (4.1.2)
nokogiri (~> 1.6)
rubyzip (~> 1.0)
selenium-webdriver (>= 3.0, < 4.0)
webpacker (4.0.7)
activesupport (>= 4.2)
rack-proxy (>= 0.6.1)
railties (>= 4.2)
websocket-driver (0.7.1)
websocket-extensions (>= 0.1.0)
websocket-extensions (0.1.4)
xpath (3.2.0)
nokogiri (~> 1.8)
zeitwerk (2.2.2)
PLATFORMS
ruby
DEPENDENCIES
bootsnap (= 1.4.4)
byebug (= 11.0.1)
capybara (= 3.28.0)
jbuilder (= 2.9.1)
listen (= 3.1.5)
pg (= 1.1.4)
puma (= 3.12.1)
rails (= 6.0.1)
sass-rails (= 5.1.0)
selenium-webdriver (= 3.142.4)
spring (= 2.1.0)
spring-watcher-listen (= 2.0.1)
sqlite3 (= 1.4.1)
turbolinks (= 5.2.0)
tzinfo-data
web-console (= 4.0.1)
webdrivers (= 4.1.2)
webpacker (= 4.0.7)
BUNDLED WITH
1.17.2