eager_load crashes boot up in production - ruby-on-rails

eager_load = true will crash the application on boot up. This has been tested on both my local machine and server trying to boot in production. Setting eager_load to false will fix the problem but i would like to have eager load on.
I've checked the stack trace, nothing like undefined variables can be seen. I put eagerload to true in development and it works which is the strange thing.
I went through and tested all controllers and models in case something was being loading without being defined.
RAILS_ENV=production rails s
=> Booting Puma
=> Rails 5.2.3 application starting in production
=> Run `rails server -h` for more startup options
Exiting
Traceback (most recent call last):
109: from bin/rails:3:in `<main>'
108: from bin/rails:3:in `load'
107: from /home/andrew/workspace/kanadash/bin/spring:15:in `<top (required)>'
106: from /home/andrew/.rbenv/versions/2.6.3/lib/ruby/2.6.0/rubygems/core_ext/kernel_require.rb:54:in `require'
105: from /home/andrew/.rbenv/versions/2.6.3/lib/ruby/2.6.0/rubygems/core_ext/kernel_require.rb:54:in `require'
104: from /home/andrew/.rbenv/versions/2.6.3/lib/ruby/gems/2.6.0/gems/spring-2.1.0/lib/spring/binstub.rb:11:in `<top (required)>'
103: from /home/andrew/.rbenv/versions/2.6.3/lib/ruby/gems/2.6.0/gems/spring-2.1.0/lib/spring/binstub.rb:11:in `load'
102: from /home/andrew/.rbenv/versions/2.6.3/lib/ruby/gems/2.6.0/gems/spring-2.1.0/bin/spring:49:in `<top (required)>'
101: from /home/andrew/.rbenv/versions/2.6.3/lib/ruby/gems/2.6.0/gems/spring-2.1.0/lib/spring/client.rb:30:in `run'
100: from /home/andrew/.rbenv/versions/2.6.3/lib/ruby/gems/2.6.0/gems/spring-2.1.0/lib/spring/client/command.rb:7:in `call'
99: from /home/andrew/.rbenv/versions/2.6.3/lib/ruby/gems/2.6.0/gems/spring-2.1.0/lib/spring/client/rails.rb:28:in `call'
98: from /home/andrew/.rbenv/versions/2.6.3/lib/ruby/gems/2.6.0/gems/spring-2.1.0/lib/spring/client/rails.rb:28:in `load'
97: from /home/andrew/workspace/kanadash/bin/rails:9:in `<top (required)>'
96: from /home/andrew/.rbenv/versions/2.6.3/lib/ruby/gems/2.6.0/gems/activesupport-5.2.3/lib/active_support/dependencies.rb:291:in `require'
95: from /home/andrew/.rbenv/versions/2.6.3/lib/ruby/gems/2.6.0/gems/activesupport-5.2.3/lib/active_support/dependencies.rb:257:in `load_dependency'
94: from /home/andrew/.rbenv/versions/2.6.3/lib/ruby/gems/2.6.0/gems/activesupport-5.2.3/lib/active_support/dependencies.rb:291:in `block in require'
93: from /home/andrew/.rbenv/versions/2.6.3/lib/ruby/gems/2.6.0/gems/bootsnap-1.4.4/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:30:in `require'
92: from /home/andrew/.rbenv/versions/2.6.3/lib/ruby/gems/2.6.0/gems/bootsnap-1.4.4/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:21:in `require_with_bootsnap_lfi'
91: from /home/andrew/.rbenv/versions/2.6.3/lib/ruby/gems/2.6.0/gems/bootsnap-1.4.4/lib/bootsnap/load_path_cache/loaded_features_index.rb:92:in `register'
90: from /home/andrew/.rbenv/versions/2.6.3/lib/ruby/gems/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'
89: from /home/andrew/.rbenv/versions/2.6.3/lib/ruby/gems/2.6.0/gems/bootsnap-1.4.4/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:22:in `require'
88: from /home/andrew/.rbenv/versions/2.6.3/lib/ruby/gems/2.6.0/gems/railties-5.2.3/lib/rails/commands.rb:18:in `<main>'
87: from /home/andrew/.rbenv/versions/2.6.3/lib/ruby/gems/2.6.0/gems/railties-5.2.3/lib/rails/command.rb:46:in `invoke'
86: from /home/andrew/.rbenv/versions/2.6.3/lib/ruby/gems/2.6.0/gems/railties-5.2.3/lib/rails/command/base.rb:65:in `perform'
85: from /home/andrew/.rbenv/versions/2.6.3/lib/ruby/gems/2.6.0/gems/thor-0.20.3/lib/thor.rb:387:in `dispatch'
84: from /home/andrew/.rbenv/versions/2.6.3/lib/ruby/gems/2.6.0/gems/thor-0.20.3/lib/thor/invocation.rb:126:in `invoke_command'
83: from /home/andrew/.rbenv/versions/2.6.3/lib/ruby/gems/2.6.0/gems/thor-0.20.3/lib/thor/command.rb:27:in `run'
82: from /home/andrew/.rbenv/versions/2.6.3/lib/ruby/gems/2.6.0/gems/railties-5.2.3/lib/rails/commands/server/server_command.rb:142:in `perform'
81: from /home/andrew/.rbenv/versions/2.6.3/lib/ruby/gems/2.6.0/gems/railties-5.2.3/lib/rails/commands/server/server_command.rb:142:in `tap'
80: from /home/andrew/.rbenv/versions/2.6.3/lib/ruby/gems/2.6.0/gems/railties-5.2.3/lib/rails/commands/server/server_command.rb:147:in `block in perform'
79: from /home/andrew/.rbenv/versions/2.6.3/lib/ruby/gems/2.6.0/gems/railties-5.2.3/lib/rails/commands/server/server_command.rb:53:in `start'
78: from /home/andrew/.rbenv/versions/2.6.3/lib/ruby/gems/2.6.0/gems/rack-2.0.7/lib/rack/server.rb:283:in `start'
77: from /home/andrew/.rbenv/versions/2.6.3/lib/ruby/gems/2.6.0/gems/rack-2.0.7/lib/rack/server.rb:354:in `wrapped_app'
76: from /home/andrew/.rbenv/versions/2.6.3/lib/ruby/gems/2.6.0/gems/railties-5.2.3/lib/rails/commands/server/server_command.rb:27:in `app'
75: from /home/andrew/.rbenv/versions/2.6.3/lib/ruby/gems/2.6.0/gems/rack-2.0.7/lib/rack/server.rb:219:in `app'
74: from /home/andrew/.rbenv/versions/2.6.3/lib/ruby/gems/2.6.0/gems/rack-2.0.7/lib/rack/server.rb:319:in `build_app_and_options_from_config'
73: from /home/andrew/.rbenv/versions/2.6.3/lib/ruby/gems/2.6.0/gems/rack-2.0.7/lib/rack/builder.rb:40:in `parse_file'
72: from /home/andrew/.rbenv/versions/2.6.3/lib/ruby/gems/2.6.0/gems/rack-2.0.7/lib/rack/builder.rb:49:in `new_from_string'
71: from /home/andrew/.rbenv/versions/2.6.3/lib/ruby/gems/2.6.0/gems/rack-2.0.7/lib/rack/builder.rb:49:in `eval'
70: from config.ru:in `<main>'
69: from config.ru:in `new'
68: from /home/andrew/.rbenv/versions/2.6.3/lib/ruby/gems/2.6.0/gems/rack-2.0.7/lib/rack/builder.rb:55:in `initialize'
67: from /home/andrew/.rbenv/versions/2.6.3/lib/ruby/gems/2.6.0/gems/rack-2.0.7/lib/rack/builder.rb:55:in `instance_eval'
66: from config.ru:3:in `block in <main>'
65: from /home/andrew/.rbenv/versions/2.6.3/lib/ruby/gems/2.6.0/gems/bootsnap-1.4.4/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:48:in `require_relative'
64: from /home/andrew/.rbenv/versions/2.6.3/lib/ruby/gems/2.6.0/gems/activesupport-5.2.3/lib/active_support/dependencies.rb:291:in `require'
63: from /home/andrew/.rbenv/versions/2.6.3/lib/ruby/gems/2.6.0/gems/activesupport-5.2.3/lib/active_support/dependencies.rb:257:in `load_dependency'
62: from /home/andrew/.rbenv/versions/2.6.3/lib/ruby/gems/2.6.0/gems/activesupport-5.2.3/lib/active_support/dependencies.rb:291:in `block in require'
61: from /home/andrew/.rbenv/versions/2.6.3/lib/ruby/gems/2.6.0/gems/bootsnap-1.4.4/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:30:in `require'
60: from /home/andrew/.rbenv/versions/2.6.3/lib/ruby/gems/2.6.0/gems/bootsnap-1.4.4/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:21:in `require_with_bootsnap_lfi'
59: from /home/andrew/.rbenv/versions/2.6.3/lib/ruby/gems/2.6.0/gems/bootsnap-1.4.4/lib/bootsnap/load_path_cache/loaded_features_index.rb:92:in `register'
58: from /home/andrew/.rbenv/versions/2.6.3/lib/ruby/gems/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'
57: from /home/andrew/.rbenv/versions/2.6.3/lib/ruby/gems/2.6.0/gems/bootsnap-1.4.4/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:22:in `require'
56: from /home/andrew/workspace/kanadash/config/environment.rb:5:in `<main>'
55: from /home/andrew/.rbenv/versions/2.6.3/lib/ruby/gems/2.6.0/gems/railties-5.2.3/lib/rails/application.rb:361:in `initialize!'
54: from /home/andrew/.rbenv/versions/2.6.3/lib/ruby/gems/2.6.0/gems/railties-5.2.3/lib/rails/initializable.rb:60:in `run_initializers'
53: from /home/andrew/.rbenv/versions/2.6.3/lib/ruby/2.6.0/tsort.rb:205:in `tsort_each'
52: from /home/andrew/.rbenv/versions/2.6.3/lib/ruby/2.6.0/tsort.rb:226:in `tsort_each'
51: from /home/andrew/.rbenv/versions/2.6.3/lib/ruby/2.6.0/tsort.rb:347:in `each_strongly_connected_component'
50: from /home/andrew/.rbenv/versions/2.6.3/lib/ruby/2.6.0/tsort.rb:347:in `call'
49: from /home/andrew/.rbenv/versions/2.6.3/lib/ruby/2.6.0/tsort.rb:347:in `each'
48: from /home/andrew/.rbenv/versions/2.6.3/lib/ruby/2.6.0/tsort.rb:349:in `block in each_strongly_connected_component'
47: from /home/andrew/.rbenv/versions/2.6.3/lib/ruby/2.6.0/tsort.rb:431:in `each_strongly_connected_component_from'
46: from /home/andrew/.rbenv/versions/2.6.3/lib/ruby/2.6.0/tsort.rb:350:in `block (2 levels) in each_strongly_connected_component'
45: from /home/andrew/.rbenv/versions/2.6.3/lib/ruby/2.6.0/tsort.rb:228:in `block in tsort_each'
44: from /home/andrew/.rbenv/versions/2.6.3/lib/ruby/gems/2.6.0/gems/railties-5.2.3/lib/rails/initializable.rb:61:in `block in run_initializers'
43: from /home/andrew/.rbenv/versions/2.6.3/lib/ruby/gems/2.6.0/gems/railties-5.2.3/lib/rails/initializable.rb:32:in `run'
42: from /home/andrew/.rbenv/versions/2.6.3/lib/ruby/gems/2.6.0/gems/railties-5.2.3/lib/rails/initializable.rb:32:in `instance_exec'
41: from /home/andrew/.rbenv/versions/2.6.3/lib/ruby/gems/2.6.0/gems/railties-5.2.3/lib/rails/application/finisher.rb:69:in `block in <module:Finisher>'
40: from /home/andrew/.rbenv/versions/2.6.3/lib/ruby/gems/2.6.0/gems/railties-5.2.3/lib/rails/application/finisher.rb:69:in `each'
39: from /home/andrew/.rbenv/versions/2.6.3/lib/ruby/gems/2.6.0/gems/railties-5.2.3/lib/rails/engine.rb:356:in `eager_load!'
38: from /home/andrew/.rbenv/versions/2.6.3/lib/ruby/gems/2.6.0/gems/railties-5.2.3/lib/rails/engine.rb:475:in `eager_load!'
37: from /home/andrew/.rbenv/versions/2.6.3/lib/ruby/gems/2.6.0/gems/railties-5.2.3/lib/rails/engine.rb:475:in `each'
36: from /home/andrew/.rbenv/versions/2.6.3/lib/ruby/gems/2.6.0/gems/railties-5.2.3/lib/rails/engine.rb:477:in `block in eager_load!'
35: from /home/andrew/.rbenv/versions/2.6.3/lib/ruby/gems/2.6.0/gems/railties-5.2.3/lib/rails/engine.rb:477:in `each'
34: from /home/andrew/.rbenv/versions/2.6.3/lib/ruby/gems/2.6.0/gems/railties-5.2.3/lib/rails/engine.rb:478:in `block (2 levels) in eager_load!'
33: from /home/andrew/.rbenv/versions/2.6.3/lib/ruby/gems/2.6.0/gems/activesupport-5.2.3/lib/active_support/dependencies.rb:246:in `require_dependency'
32: from /home/andrew/.rbenv/versions/2.6.3/lib/ruby/gems/2.6.0/gems/bootsnap-1.4.4/lib/bootsnap/load_path_cache/core_ext/active_support.rb:85:in `depend_on'
31: from /home/andrew/.rbenv/versions/2.6.3/lib/ruby/gems/2.6.0/gems/activesupport-5.2.3/lib/active_support/dependencies.rb:334:in `depend_on'
30: from /home/andrew/.rbenv/versions/2.6.3/lib/ruby/gems/2.6.0/gems/bootsnap-1.4.4/lib/bootsnap/load_path_cache/core_ext/active_support.rb:47:in `require_or_load'
29: from /home/andrew/.rbenv/versions/2.6.3/lib/ruby/gems/2.6.0/gems/bootsnap-1.4.4/lib/bootsnap/load_path_cache/core_ext/active_support.rb:16:in `allow_bootsnap_retry'
28: from /home/andrew/.rbenv/versions/2.6.3/lib/ruby/gems/2.6.0/gems/bootsnap-1.4.4/lib/bootsnap/load_path_cache/core_ext/active_support.rb:48:in `block in require_or_load'
27: from /home/andrew/.rbenv/versions/2.6.3/lib/ruby/gems/2.6.0/gems/activesupport-5.2.3/lib/active_support/dependencies.rb:356:in `require_or_load'
26: from /home/andrew/.rbenv/versions/2.6.3/lib/ruby/gems/2.6.0/gems/activesupport-5.2.3/lib/active_support/dependencies.rb:37:in `load_interlock'
25: from /home/andrew/.rbenv/versions/2.6.3/lib/ruby/gems/2.6.0/gems/activesupport-5.2.3/lib/active_support/dependencies/interlock.rb:13:in `loading'
24: from /home/andrew/.rbenv/versions/2.6.3/lib/ruby/gems/2.6.0/gems/activesupport-5.2.3/lib/active_support/concurrency/share_lock.rb:151:in `exclusive'
23: from /home/andrew/.rbenv/versions/2.6.3/lib/ruby/gems/2.6.0/gems/activesupport-5.2.3/lib/active_support/dependencies/interlock.rb:14:in `block in loading'
22: from /home/andrew/.rbenv/versions/2.6.3/lib/ruby/gems/2.6.0/gems/activesupport-5.2.3/lib/active_support/dependencies.rb:37:in `block in load_interlock'
21: from /home/andrew/.rbenv/versions/2.6.3/lib/ruby/gems/2.6.0/gems/activesupport-5.2.3/lib/active_support/dependencies.rb:378:in `block in require_or_load'
20: from /home/andrew/.rbenv/versions/2.6.3/lib/ruby/gems/2.6.0/gems/activesupport-5.2.3/lib/active_support/dependencies.rb:291:in `require'
19: from /home/andrew/.rbenv/versions/2.6.3/lib/ruby/gems/2.6.0/gems/activesupport-5.2.3/lib/active_support/dependencies.rb:257:in `load_dependency'
18: from /home/andrew/.rbenv/versions/2.6.3/lib/ruby/gems/2.6.0/gems/activesupport-5.2.3/lib/active_support/dependencies.rb:291:in `block in require'
17: from /home/andrew/.rbenv/versions/2.6.3/lib/ruby/gems/2.6.0/gems/bootsnap-1.4.4/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:30:in `require'
16: from /home/andrew/.rbenv/versions/2.6.3/lib/ruby/gems/2.6.0/gems/bootsnap-1.4.4/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:21:in `require_with_bootsnap_lfi'
15: from /home/andrew/.rbenv/versions/2.6.3/lib/ruby/gems/2.6.0/gems/bootsnap-1.4.4/lib/bootsnap/load_path_cache/loaded_features_index.rb:92:in `register'
14: from /home/andrew/.rbenv/versions/2.6.3/lib/ruby/gems/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'
13: from /home/andrew/.rbenv/versions/2.6.3/lib/ruby/gems/2.6.0/gems/bootsnap-1.4.4/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:22:in `require'
12: from /home/andrew/.rbenv/versions/2.6.3/lib/ruby/gems/2.6.0/gems/activestorage-5.2.3/app/models/active_storage/blob.rb:16:in `<main>'
11: from /home/andrew/.rbenv/versions/2.6.3/lib/ruby/gems/2.6.0/gems/activestorage-5.2.3/app/models/active_storage/blob.rb:235:in `<class:Blob>'
10: from /home/andrew/.rbenv/versions/2.6.3/lib/ruby/gems/2.6.0/gems/activesupport-5.2.3/lib/active_support/lazy_load_hooks.rb:51:in `run_load_hooks'
9: from /home/andrew/.rbenv/versions/2.6.3/lib/ruby/gems/2.6.0/gems/activesupport-5.2.3/lib/active_support/lazy_load_hooks.rb:51:in `each'
8: from /home/andrew/.rbenv/versions/2.6.3/lib/ruby/gems/2.6.0/gems/activesupport-5.2.3/lib/active_support/lazy_load_hooks.rb:52:in `block in run_load_hooks'
7: from /home/andrew/.rbenv/versions/2.6.3/lib/ruby/gems/2.6.0/gems/activesupport-5.2.3/lib/active_support/lazy_load_hooks.rb:67:in `execute_hook'
6: from /home/andrew/.rbenv/versions/2.6.3/lib/ruby/gems/2.6.0/gems/activesupport-5.2.3/lib/active_support/lazy_load_hooks.rb:62:in `with_execution_control'
5: from /home/andrew/.rbenv/versions/2.6.3/lib/ruby/gems/2.6.0/gems/activesupport-5.2.3/lib/active_support/lazy_load_hooks.rb:71:in `block in execute_hook'
4: from /home/andrew/.rbenv/versions/2.6.3/lib/ruby/gems/2.6.0/gems/activesupport-5.2.3/lib/active_support/lazy_load_hooks.rb:71:in `instance_eval'
3: from /home/andrew/.rbenv/versions/2.6.3/lib/ruby/gems/2.6.0/gems/activestorage-5.2.3/lib/active_storage/engine.rb:95:in `block (2 levels) in <class:Engine>'
2: from /home/andrew/.rbenv/versions/2.6.3/lib/ruby/2.6.0/erb.rb:901:in `result'
1: from /home/andrew/.rbenv/versions/2.6.3/lib/ruby/2.6.0/erb.rb:901:in `eval'
(erb):11:in `<main>': undefined method `[]' for nil:NilClass (NoMethodError)
I expected either the development server to not start up with eager_load true or the production server to start up with eager_load true. It's really strange eager_load works in development but not production.

Related

No such file or directory # rb_sysopen - webpacker.yml running `rails s` [closed]

Closed. This question needs debugging details. It is not currently accepting answers.
Edit the question to include desired behavior, a specific problem or error, and the shortest code necessary to reproduce the problem. This will help others answer the question.
Closed 2 years ago.
Improve this question
If I make a folder with rails new myproject
then go in the folder and type rails s, I get this error:
Warning: the running version of Bundler (2.1.2) is older than the version that created the lockfile (2.1.4). We suggest you to upgrade to the version that created the lockfile by running `gem install bundler:2.1.4`.
=> Booting Puma
=> Rails 6.0.3.2 application starting in development
=> Run `rails server --help` for more startup options
Exiting
Traceback (most recent call last):
77: from bin/rails:3:in `<main>'
76: from bin/rails:3:in `load'
75: from /home/arian/projects/Arian-p1/bin/spring:15:in `<top (required)>'
74: from /usr/lib/ruby/2.7.0/rubygems/core_ext/kernel_require.rb:72:in `require'
73: from /usr/lib/ruby/2.7.0/rubygems/core_ext/kernel_require.rb:72:in `require'
72: from /var/lib/gems/2.7.0/gems/spring-2.1.0/lib/spring/binstub.rb:11:in `<top (required)>'
71: from /var/lib/gems/2.7.0/gems/spring-2.1.0/lib/spring/binstub.rb:11:in `load'
70: from /var/lib/gems/2.7.0/gems/spring-2.1.0/bin/spring:49:in `<top (required)>'
69: from /var/lib/gems/2.7.0/gems/spring-2.1.0/lib/spring/client.rb:30:in `run'
68: from /var/lib/gems/2.7.0/gems/spring-2.1.0/lib/spring/client/command.rb:7:in `call'
67: from /var/lib/gems/2.7.0/gems/spring-2.1.0/lib/spring/client/rails.rb:28:in `call'
66: from /var/lib/gems/2.7.0/gems/spring-2.1.0/lib/spring/client/rails.rb:28:in `load'
65: from /home/arian/projects/Arian-p1/bin/rails:9:in `<top (required)>'
64: from /var/lib/gems/2.7.0/gems/activesupport-6.0.3.2/lib/active_support/dependencies.rb:324:in `require'
63: from /var/lib/gems/2.7.0/gems/activesupport-6.0.3.2/lib/active_support/dependencies.rb:291:in `load_dependency'
62: from /var/lib/gems/2.7.0/gems/activesupport-6.0.3.2/lib/active_support/dependencies.rb:324:in `block in require'
61: from /var/lib/gems/2.7.0/gems/bootsnap-1.4.7/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:31:in `require'
60: from /var/lib/gems/2.7.0/gems/bootsnap-1.4.7/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:22:in `require_with_bootsnap_lfi'
59: from /var/lib/gems/2.7.0/gems/bootsnap-1.4.7/lib/bootsnap/load_path_cache/loaded_features_index.rb:92:in `register'
58: from /var/lib/gems/2.7.0/gems/bootsnap-1.4.7/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:23:in `block in require_with_bootsnap_lfi'
57: from /var/lib/gems/2.7.0/gems/bootsnap-1.4.7/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:23:in `require'
56: from /var/lib/gems/2.7.0/gems/railties-6.0.3.2/lib/rails/commands.rb:18:in `<main>'
55: from /var/lib/gems/2.7.0/gems/railties-6.0.3.2/lib/rails/command.rb:46:in `invoke'
54: from /var/lib/gems/2.7.0/gems/railties-6.0.3.2/lib/rails/command/base.rb:69:in `perform'
53: from /var/lib/gems/2.7.0/gems/thor-1.0.1/lib/thor.rb:392:in `dispatch'
52: from /var/lib/gems/2.7.0/gems/thor-1.0.1/lib/thor/invocation.rb:127:in `invoke_command'
51: from /var/lib/gems/2.7.0/gems/thor-1.0.1/lib/thor/command.rb:27:in `run'
50: from /var/lib/gems/2.7.0/gems/railties-6.0.3.2/lib/rails/commands/server/server_command.rb:138:in `perform'
49: from /var/lib/gems/2.7.0/gems/railties-6.0.3.2/lib/rails/commands/server/server_command.rb:138:in `tap'
48: from /var/lib/gems/2.7.0/gems/railties-6.0.3.2/lib/rails/commands/server/server_command.rb:147:in `block in perform'
47: from /var/lib/gems/2.7.0/gems/railties-6.0.3.2/lib/rails/commands/server/server_command.rb:37:in `start'
46: from /var/lib/gems/2.7.0/gems/railties-6.0.3.2/lib/rails/commands/server/server_command.rb:77:in `log_to_stdout'
45: from /var/lib/gems/2.7.0/gems/rack-2.2.3/lib/rack/server.rb:422:in `wrapped_app'
44: from /var/lib/gems/2.7.0/gems/rack-2.2.3/lib/rack/server.rb:249:in `app'
43: from /var/lib/gems/2.7.0/gems/rack-2.2.3/lib/rack/server.rb:349:in `build_app_and_options_from_config'
42: from /var/lib/gems/2.7.0/gems/rack-2.2.3/lib/rack/builder.rb:66:in `parse_file'
41: from /var/lib/gems/2.7.0/gems/rack-2.2.3/lib/rack/builder.rb:105:in `load_file'
40: from /var/lib/gems/2.7.0/gems/rack-2.2.3/lib/rack/builder.rb:116:in `new_from_string'
39: from /var/lib/gems/2.7.0/gems/rack-2.2.3/lib/rack/builder.rb:116:in `eval'
38: from config.ru:3:in `block in <main>'
37: from /var/lib/gems/2.7.0/gems/bootsnap-1.4.7/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:49:in `require_relative'
36: from /var/lib/gems/2.7.0/gems/activesupport-6.0.3.2/lib/active_support/dependencies.rb:324:in `require'
35: from /var/lib/gems/2.7.0/gems/activesupport-6.0.3.2/lib/active_support/dependencies.rb:291:in `load_dependency'
34: from /var/lib/gems/2.7.0/gems/activesupport-6.0.3.2/lib/active_support/dependencies.rb:324:in `block in require'
33: from /var/lib/gems/2.7.0/gems/zeitwerk-2.4.0/lib/zeitwerk/kernel.rb:34:in `require'
32: from /var/lib/gems/2.7.0/gems/bootsnap-1.4.7/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:31:in `require'
31: from /var/lib/gems/2.7.0/gems/bootsnap-1.4.7/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:22:in `require_with_bootsnap_lfi'
30: from /var/lib/gems/2.7.0/gems/bootsnap-1.4.7/lib/bootsnap/load_path_cache/loaded_features_index.rb:92:in `register'
29: from /var/lib/gems/2.7.0/gems/bootsnap-1.4.7/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:23:in `block in require_with_bootsnap_lfi'
28: from /var/lib/gems/2.7.0/gems/bootsnap-1.4.7/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:23:in `require'
27: from /home/arian/projects/Arian-p1/config/environment.rb:5:in `<main>'
26: from /var/lib/gems/2.7.0/gems/railties-6.0.3.2/lib/rails/application.rb:363:in `initialize!'
25: from /var/lib/gems/2.7.0/gems/railties-6.0.3.2/lib/rails/initializable.rb:60:in `run_initializers'
24: from /usr/lib/ruby/2.7.0/tsort.rb:205:in `tsort_each'
23: from /usr/lib/ruby/2.7.0/tsort.rb:226:in `tsort_each'
22: from /usr/lib/ruby/2.7.0/tsort.rb:347:in `each_strongly_connected_component'
21: from /usr/lib/ruby/2.7.0/tsort.rb:347:in `call'
20: from /usr/lib/ruby/2.7.0/tsort.rb:347:in `each'
19: from /usr/lib/ruby/2.7.0/tsort.rb:349:in `block in each_strongly_connected_component'
18: from /usr/lib/ruby/2.7.0/tsort.rb:431:in `each_strongly_connected_component_from'
17: from /usr/lib/ruby/2.7.0/tsort.rb:350:in `block (2 levels) in each_strongly_connected_component'
16: from /usr/lib/ruby/2.7.0/tsort.rb:228:in `block in tsort_each'
15: from /var/lib/gems/2.7.0/gems/railties-6.0.3.2/lib/rails/initializable.rb:61:in `block in run_initializers'
14: from /var/lib/gems/2.7.0/gems/railties-6.0.3.2/lib/rails/initializable.rb:32:in `run'
13: from /var/lib/gems/2.7.0/gems/railties-6.0.3.2/lib/rails/initializable.rb:32:in `instance_exec'
12: from /var/lib/gems/2.7.0/gems/webpacker-4.2.2/lib/webpacker/railtie.rb:84:in `block in <class:Engine>'
11: from /var/lib/gems/2.7.0/gems/webpacker-4.2.2/lib/webpacker.rb:35:in `bootstrap'
10: from /var/lib/gems/2.7.0/gems/webpacker-4.2.2/lib/webpacker/commands.rb:25:in `bootstrap'
9: from /var/lib/gems/2.7.0/gems/webpacker-4.2.2/lib/webpacker/manifest.rb:18:in `refresh'
8: from /var/lib/gems/2.7.0/gems/webpacker-4.2.2/lib/webpacker/manifest.rb:83:in `load'
7: from /var/lib/gems/2.7.0/gems/webpacker-4.2.2/lib/webpacker/configuration.rb:51:in `public_manifest_path'
6: from /var/lib/gems/2.7.0/gems/webpacker-4.2.2/lib/webpacker/configuration.rb:47:in `public_output_path'
5: from /var/lib/gems/2.7.0/gems/webpacker-4.2.2/lib/webpacker/configuration.rb:43:in `public_path'
4: from /var/lib/gems/2.7.0/gems/webpacker-4.2.2/lib/webpacker/configuration.rb:84:in `fetch'
3: from /var/lib/gems/2.7.0/gems/webpacker-4.2.2/lib/webpacker/configuration.rb:88:in `data'
2: from /var/lib/gems/2.7.0/gems/webpacker-4.2.2/lib/webpacker/configuration.rb:92:in `load'
1: from /var/lib/gems/2.7.0/gems/webpacker-4.2.2/lib/webpacker/configuration.rb:92:in `read'
/var/lib/gems/2.7.0/gems/webpacker-4.2.2/lib/webpacker/configuration.rb:92:in `read': No such file or directory # rb_sysopen - /home/arian/projects/Arian-p1/config/webpacker.yml (Errno::ENOENT)
76: from bin/rails:3:in `<main>'
75: from bin/rails:3:in `load'
74: from /home/arian/projects/Arian-p1/bin/spring:15:in `<top (required)>'
73: from /usr/lib/ruby/2.7.0/rubygems/core_ext/kernel_require.rb:72:in `require'
72: from /usr/lib/ruby/2.7.0/rubygems/core_ext/kernel_require.rb:72:in `require'
71: from /var/lib/gems/2.7.0/gems/spring-2.1.0/lib/spring/binstub.rb:11:in `<top (required)>'
70: from /var/lib/gems/2.7.0/gems/spring-2.1.0/lib/spring/binstub.rb:11:in `load'
69: from /var/lib/gems/2.7.0/gems/spring-2.1.0/bin/spring:49:in `<top (required)>'
68: from /var/lib/gems/2.7.0/gems/spring-2.1.0/lib/spring/client.rb:30:in `run'
67: from /var/lib/gems/2.7.0/gems/spring-2.1.0/lib/spring/client/command.rb:7:in `call'
66: from /var/lib/gems/2.7.0/gems/spring-2.1.0/lib/spring/client/rails.rb:28:in `call'
65: from /var/lib/gems/2.7.0/gems/spring-2.1.0/lib/spring/client/rails.rb:28:in `load'
64: from /home/arian/projects/Arian-p1/bin/rails:9:in `<top (required)>'
63: from /var/lib/gems/2.7.0/gems/activesupport-6.0.3.2/lib/active_support/dependencies.rb:324:in `require'
62: from /var/lib/gems/2.7.0/gems/activesupport-6.0.3.2/lib/active_support/dependencies.rb:291:in `load_dependency'
61: from /var/lib/gems/2.7.0/gems/activesupport-6.0.3.2/lib/active_support/dependencies.rb:324:in `block in require'
60: from /var/lib/gems/2.7.0/gems/bootsnap-1.4.7/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:31:in `require'
59: from /var/lib/gems/2.7.0/gems/bootsnap-1.4.7/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:22:in `require_with_bootsnap_lfi'
58: from /var/lib/gems/2.7.0/gems/bootsnap-1.4.7/lib/bootsnap/load_path_cache/loaded_features_index.rb:92:in `register'
57: from /var/lib/gems/2.7.0/gems/bootsnap-1.4.7/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:23:in `block in require_with_bootsnap_lfi'
56: from /var/lib/gems/2.7.0/gems/bootsnap-1.4.7/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:23:in `require'
55: from /var/lib/gems/2.7.0/gems/railties-6.0.3.2/lib/rails/commands.rb:18:in `<main>'
54: from /var/lib/gems/2.7.0/gems/railties-6.0.3.2/lib/rails/command.rb:46:in `invoke'
53: from /var/lib/gems/2.7.0/gems/railties-6.0.3.2/lib/rails/command/base.rb:69:in `perform'
52: from /var/lib/gems/2.7.0/gems/thor-1.0.1/lib/thor.rb:392:in `dispatch'
51: from /var/lib/gems/2.7.0/gems/thor-1.0.1/lib/thor/invocation.rb:127:in `invoke_command'
50: from /var/lib/gems/2.7.0/gems/thor-1.0.1/lib/thor/command.rb:27:in `run'
49: from /var/lib/gems/2.7.0/gems/railties-6.0.3.2/lib/rails/commands/server/server_command.rb:138:in `perform'
48: from /var/lib/gems/2.7.0/gems/railties-6.0.3.2/lib/rails/commands/server/server_command.rb:138:in `tap'
47: from /var/lib/gems/2.7.0/gems/railties-6.0.3.2/lib/rails/commands/server/server_command.rb:147:in `block in perform'
46: from /var/lib/gems/2.7.0/gems/railties-6.0.3.2/lib/rails/commands/server/server_command.rb:37:in `start'
45: from /var/lib/gems/2.7.0/gems/railties-6.0.3.2/lib/rails/commands/server/server_command.rb:77:in `log_to_stdout'
44: from /var/lib/gems/2.7.0/gems/rack-2.2.3/lib/rack/server.rb:422:in `wrapped_app'
43: from /var/lib/gems/2.7.0/gems/rack-2.2.3/lib/rack/server.rb:249:in `app'
42: from /var/lib/gems/2.7.0/gems/rack-2.2.3/lib/rack/server.rb:349:in `build_app_and_options_from_config'
41: from /var/lib/gems/2.7.0/gems/rack-2.2.3/lib/rack/builder.rb:66:in `parse_file'
40: from /var/lib/gems/2.7.0/gems/rack-2.2.3/lib/rack/builder.rb:105:in `load_file'
39: from /var/lib/gems/2.7.0/gems/rack-2.2.3/lib/rack/builder.rb:116:in `new_from_string'
38: from /var/lib/gems/2.7.0/gems/rack-2.2.3/lib/rack/builder.rb:116:in `eval'
37: from config.ru:3:in `block in <main>'
36: from /var/lib/gems/2.7.0/gems/bootsnap-1.4.7/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:49:in `require_relative'
35: from /var/lib/gems/2.7.0/gems/activesupport-6.0.3.2/lib/active_support/dependencies.rb:324:in `require'
34: from /var/lib/gems/2.7.0/gems/activesupport-6.0.3.2/lib/active_support/dependencies.rb:291:in `load_dependency'
33: from /var/lib/gems/2.7.0/gems/activesupport-6.0.3.2/lib/active_support/dependencies.rb:324:in `block in require'
32: from /var/lib/gems/2.7.0/gems/zeitwerk-2.4.0/lib/zeitwerk/kernel.rb:34:in `require'
31: from /var/lib/gems/2.7.0/gems/bootsnap-1.4.7/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:31:in `require'
30: from /var/lib/gems/2.7.0/gems/bootsnap-1.4.7/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:22:in `require_with_bootsnap_lfi'
29: from /var/lib/gems/2.7.0/gems/bootsnap-1.4.7/lib/bootsnap/load_path_cache/loaded_features_index.rb:92:in `register'
28: from /var/lib/gems/2.7.0/gems/bootsnap-1.4.7/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:23:in `block in require_with_bootsnap_lfi'
27: from /var/lib/gems/2.7.0/gems/bootsnap-1.4.7/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:23:in `require'
26: from /home/arian/projects/Arian-p1/config/environment.rb:5:in `<main>'
25: from /var/lib/gems/2.7.0/gems/railties-6.0.3.2/lib/rails/application.rb:363:in `initialize!'
24: from /var/lib/gems/2.7.0/gems/railties-6.0.3.2/lib/rails/initializable.rb:60:in `run_initializers'
23: from /usr/lib/ruby/2.7.0/tsort.rb:205:in `tsort_each'
22: from /usr/lib/ruby/2.7.0/tsort.rb:226:in `tsort_each'
21: from /usr/lib/ruby/2.7.0/tsort.rb:347:in `each_strongly_connected_component'
20: from /usr/lib/ruby/2.7.0/tsort.rb:347:in `call'
19: from /usr/lib/ruby/2.7.0/tsort.rb:347:in `each'
18: from /usr/lib/ruby/2.7.0/tsort.rb:349:in `block in each_strongly_connected_component'
17: from /usr/lib/ruby/2.7.0/tsort.rb:431:in `each_strongly_connected_component_from'
16: from /usr/lib/ruby/2.7.0/tsort.rb:350:in `block (2 levels) in each_strongly_connected_component'
15: from /usr/lib/ruby/2.7.0/tsort.rb:228:in `block in tsort_each'
14: from /var/lib/gems/2.7.0/gems/railties-6.0.3.2/lib/rails/initializable.rb:61:in `block in run_initializers'
13: from /var/lib/gems/2.7.0/gems/railties-6.0.3.2/lib/rails/initializable.rb:32:in `run'
12: from /var/lib/gems/2.7.0/gems/railties-6.0.3.2/lib/rails/initializable.rb:32:in `instance_exec'
11: from /var/lib/gems/2.7.0/gems/webpacker-4.2.2/lib/webpacker/railtie.rb:84:in `block in <class:Engine>'
10: from /var/lib/gems/2.7.0/gems/webpacker-4.2.2/lib/webpacker.rb:35:in `bootstrap'
9: from /var/lib/gems/2.7.0/gems/webpacker-4.2.2/lib/webpacker/commands.rb:25:in `bootstrap'
8: from /var/lib/gems/2.7.0/gems/webpacker-4.2.2/lib/webpacker/manifest.rb:18:in `refresh'
7: from /var/lib/gems/2.7.0/gems/webpacker-4.2.2/lib/webpacker/manifest.rb:83:in `load'
6: from /var/lib/gems/2.7.0/gems/webpacker-4.2.2/lib/webpacker/configuration.rb:51:in `public_manifest_path'
5: from /var/lib/gems/2.7.0/gems/webpacker-4.2.2/lib/webpacker/configuration.rb:47:in `public_output_path'
4: from /var/lib/gems/2.7.0/gems/webpacker-4.2.2/lib/webpacker/configuration.rb:43:in `public_path'
3: from /var/lib/gems/2.7.0/gems/webpacker-4.2.2/lib/webpacker/configuration.rb:84:in `fetch'
2: from /var/lib/gems/2.7.0/gems/webpacker-4.2.2/lib/webpacker/configuration.rb:88:in `data'
1: from /var/lib/gems/2.7.0/gems/webpacker-4.2.2/lib/webpacker/configuration.rb:91:in `load'
/var/lib/gems/2.7.0/gems/webpacker-4.2.2/lib/webpacker/configuration.rb:95:in `rescue in load': Webpacker configuration file not found /home/arian/projects/Arian-p1/config/webpacker.yml. Please run rails webpacker:install Error: No such file or directory # rb_sysopen - /home/arian/projects/Arian-p1/config/webpacker.yml (RuntimeError)
I installed bundler 2.1.4
I am running on Ubuntu.
The last line of the stack trace tells you what to do
Please run rails webpacker:install
Its missing the file config/webpacker.yml which gets created by the command bundle exec rails webpacker:install
Run gem install bundler:2.1.4. If that doesn't work, you could also try gem update --system.

How do I run this on my local server 30000? rails s is not working

This is what I get when I type rails s. I've updated bundle, gems, rails everything I can possibly think of. How do I run this on local host 3000?
=> Rails 5.1.7 application starting in development
=> Run `rails server -h` for more startup options
Exiting
Traceback (most recent call last):
66: from bin/rails:4:in `<main>'
65: from bin/rails:4:in `require'
64: from /Library/Ruby/Gems/2.6.0/gems/railties-5.1.7/lib/rails/commands.rb:16:in `<top (required)>'
63: from /Library/Ruby/Gems/2.6.0/gems/railties-5.1.7/lib/rails/command.rb:44:in `invoke'
62: from /Library/Ruby/Gems/2.6.0/gems/railties-5.1.7/lib/rails/command/base.rb:63:in `perform'
61: from /Library/Ruby/Gems/2.6.0/gems/thor-1.0.1/lib/thor.rb:392:in `dispatch'
60: from /Library/Ruby/Gems/2.6.0/gems/thor-1.0.1/lib/thor/invocation.rb:127:in `invoke_command'
59: from /Library/Ruby/Gems/2.6.0/gems/thor-1.0.1/lib/thor/command.rb:27:in `run'
58: from /Library/Ruby/Gems/2.6.0/gems/railties-5.1.7/lib/rails/commands/server/server_command.rb:130:in `perform'
57: from /Library/Ruby/Gems/2.6.0/gems/railties-5.1.7/lib/rails/commands/server/server_command.rb:130:in `tap'
56: from /Library/Ruby/Gems/2.6.0/gems/railties-5.1.7/lib/rails/commands/server/server_command.rb:135:in `block in perform'
55: from /Library/Ruby/Gems/2.6.0/gems/railties-5.1.7/lib/rails/commands/server/server_command.rb:42:in `start'
54: from /Library/Ruby/Gems/2.6.0/gems/railties-5.1.7/lib/rails/commands/server/server_command.rb:80:in `log_to_stdout'
53: from /Library/Ruby/Gems/2.6.0/gems/rack-2.2.2/lib/rack/server.rb:422:in `wrapped_app'
52: from /Library/Ruby/Gems/2.6.0/gems/railties-5.1.7/lib/rails/commands/server/server_command.rb:24:in `app'
51: from /Library/Ruby/Gems/2.6.0/gems/rack-2.2.2/lib/rack/server.rb:249:in `app'
50: from /Library/Ruby/Gems/2.6.0/gems/rack-2.2.2/lib/rack/server.rb:349:in `build_app_and_options_from_config'
49: from /Library/Ruby/Gems/2.6.0/gems/rack-2.2.2/lib/rack/builder.rb:66:in `parse_file'
48: from /Library/Ruby/Gems/2.6.0/gems/rack-2.2.2/lib/rack/builder.rb:105:in `load_file'
47: from /Library/Ruby/Gems/2.6.0/gems/rack-2.2.2/lib/rack/builder.rb:116:in `new_from_string'
46: from /Library/Ruby/Gems/2.6.0/gems/rack-2.2.2/lib/rack/builder.rb:116:in `eval'
45: from config.ru:3:in `block in <main>'
44: from /Library/Ruby/Gems/2.6.0/gems/activesupport-5.1.7/lib/active_support/dependencies.rb:292:in `require'
43: from /Library/Ruby/Gems/2.6.0/gems/activesupport-5.1.7/lib/active_support/dependencies.rb:258:in `load_dependency'
42: from /Library/Ruby/Gems/2.6.0/gems/activesupport-5.1.7/lib/active_support/dependencies.rb:292:in `block in require'
41: from /Library/Ruby/Gems/2.6.0/gems/activesupport-5.1.7/lib/active_support/dependencies.rb:292:in `require'
40: from /Users/kevinchoi/projects/resources/misc/teachpulse/config/environment.rb:8:in `<top (required)>'
39: from /Library/Ruby/Gems/2.6.0/gems/railties-5.1.7/lib/rails/application.rb:353:in `initialize!'
38: from /Library/Ruby/Gems/2.6.0/gems/railties-5.1.7/lib/rails/initializable.rb:58:in `run_initializers'
37: from /System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/lib/ruby/2.6.0/tsort.rb:205:in `tsort_each'
36: from /System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/lib/ruby/2.6.0/tsort.rb:226:in `tsort_each'
35: from /System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/lib/ruby/2.6.0/tsort.rb:347:in `each_strongly_connected_component'
34: from /System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/lib/ruby/2.6.0/tsort.rb:347:in `call'
33: from /System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/lib/ruby/2.6.0/tsort.rb:347:in `each'
32: from /System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/lib/ruby/2.6.0/tsort.rb:349:in `block in each_strongly_connected_component'
31: from /System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/lib/ruby/2.6.0/tsort.rb:431:in `each_strongly_connected_component_from'
30: from /System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/lib/ruby/2.6.0/tsort.rb:350:in `block (2 levels) in each_strongly_connected_component'
29: from /System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/lib/ruby/2.6.0/tsort.rb:228:in `block in tsort_each'
28: from /Library/Ruby/Gems/2.6.0/gems/railties-5.1.7/lib/rails/initializable.rb:59:in `block in run_initializers'
27: from /Library/Ruby/Gems/2.6.0/gems/railties-5.1.7/lib/rails/initializable.rb:30:in `run'
26: from /Library/Ruby/Gems/2.6.0/gems/railties-5.1.7/lib/rails/initializable.rb:30:in `instance_exec'
25: from /Library/Ruby/Gems/2.6.0/gems/activerecord-5.1.7/lib/active_record/railtie.rb:120:in `block in <class:Railtie>'
24: from /Library/Ruby/Gems/2.6.0/gems/activesupport-5.1.7/lib/active_support/lazy_load_hooks.rb:40:in `on_load'
23: from /Library/Ruby/Gems/2.6.0/gems/activesupport-5.1.7/lib/active_support/lazy_load_hooks.rb:40:in `each'
22: from /Library/Ruby/Gems/2.6.0/gems/activesupport-5.1.7/lib/active_support/lazy_load_hooks.rb:41:in `block in on_load'
21: from /Library/Ruby/Gems/2.6.0/gems/activesupport-5.1.7/lib/active_support/lazy_load_hooks.rb:65:in `execute_hook'
20: from /Library/Ruby/Gems/2.6.0/gems/activesupport-5.1.7/lib/active_support/lazy_load_hooks.rb:60:in `with_execution_control'
19: from /Library/Ruby/Gems/2.6.0/gems/activesupport-5.1.7/lib/active_support/lazy_load_hooks.rb:69:in `block in execute_hook'
18: from /Library/Ruby/Gems/2.6.0/gems/activesupport-5.1.7/lib/active_support/lazy_load_hooks.rb:69:in `instance_eval'
17: from /Library/Ruby/Gems/2.6.0/gems/activerecord-5.1.7/lib/active_record/railtie.rb:124:in `block (2 levels) in <class:Railtie>'
16: from /Library/Ruby/Gems/2.6.0/gems/activerecord-5.1.7/lib/active_record/connection_handling.rb:58:in `establish_connection'
15: from /Library/Ruby/Gems/2.6.0/gems/activerecord-5.1.7/lib/active_record/connection_adapters/abstract/connection_pool.rb:882:in `establish_connection'
14: from /Library/Ruby/Gems/2.6.0/gems/activerecord-5.1.7/lib/active_record/connection_adapters/connection_specification.rb:186:in `spec'
13: from /Library/Ruby/Gems/2.6.0/gems/activesupport-5.1.7/lib/active_support/dependencies.rb:292:in `require'
12: from /Library/Ruby/Gems/2.6.0/gems/activesupport-5.1.7/lib/active_support/dependencies.rb:258:in `load_dependency'
11: from /Library/Ruby/Gems/2.6.0/gems/activesupport-5.1.7/lib/active_support/dependencies.rb:292:in `block in require'
10: from /Library/Ruby/Gems/2.6.0/gems/activesupport-5.1.7/lib/active_support/dependencies.rb:292:in `require'
9: from /Library/Ruby/Gems/2.6.0/gems/activerecord-5.1.7/lib/active_record/connection_adapters/postgresql_adapter.rb:3:in `<top (required)>'
8: from /Library/Ruby/Gems/2.6.0/gems/activesupport-5.1.7/lib/active_support/dependencies.rb:292:in `require'
7: from /Library/Ruby/Gems/2.6.0/gems/activesupport-5.1.7/lib/active_support/dependencies.rb:258:in `load_dependency'
6: from /Library/Ruby/Gems/2.6.0/gems/activesupport-5.1.7/lib/active_support/dependencies.rb:292:in `block in require'
5: from /Library/Ruby/Gems/2.6.0/gems/activesupport-5.1.7/lib/active_support/dependencies.rb:292:in `require'
4: from /Library/Ruby/Gems/2.6.0/gems/pg-1.2.3/lib/pg.rb:5:in `<top (required)>'
3: from /Library/Ruby/Gems/2.6.0/gems/activesupport-5.1.7/lib/active_support/dependencies.rb:292:in `require'
2: from /Library/Ruby/Gems/2.6.0/gems/activesupport-5.1.7/lib/active_support/dependencies.rb:258:in `load_dependency'
1: from /Library/Ruby/Gems/2.6.0/gems/activesupport-5.1.7/lib/active_support/dependencies.rb:292:in `block in require'
/Library/Ruby/Gems/2.6.0/gems/activesupport-5.1.7/lib/active_support/dependencies.rb:292:in `require': dlopen(/Library/Ruby/Gems/2.6.0/gems/pg-1.2.3/lib/pg_ext.bundle, 0x0009): dependent dylib '/usr/local/opt/openssl/lib/libssl.1.0.0.dylib' not found for '/usr/local/Cellar/postgresql/11.1/lib/libpq.5.11.dylib' - /Library/Ruby/Gems/2.6.0/gems/pg-1.2.3/lib/pg_ext.bundle (LoadError)
66: from bin/rails:4:in `<main>'
65: from bin/rails:4:in `require'
64: from /Library/Ruby/Gems/2.6.0/gems/railties-5.1.7/lib/rails/commands.rb:16:in `<top (required)>'
63: from /Library/Ruby/Gems/2.6.0/gems/railties-5.1.7/lib/rails/command.rb:44:in `invoke'
62: from /Library/Ruby/Gems/2.6.0/gems/railties-5.1.7/lib/rails/command/base.rb:63:in `perform'
61: from /Library/Ruby/Gems/2.6.0/gems/thor-1.0.1/lib/thor.rb:392:in `dispatch'
60: from /Library/Ruby/Gems/2.6.0/gems/thor-1.0.1/lib/thor/invocation.rb:127:in `invoke_command'
59: from /Library/Ruby/Gems/2.6.0/gems/thor-1.0.1/lib/thor/command.rb:27:in `run'
58: from /Library/Ruby/Gems/2.6.0/gems/railties-5.1.7/lib/rails/commands/server/server_command.rb:130:in `perform'
57: from /Library/Ruby/Gems/2.6.0/gems/railties-5.1.7/lib/rails/commands/server/server_command.rb:130:in `tap'
56: from /Library/Ruby/Gems/2.6.0/gems/railties-5.1.7/lib/rails/commands/server/server_command.rb:135:in `block in perform'
55: from /Library/Ruby/Gems/2.6.0/gems/railties-5.1.7/lib/rails/commands/server/server_command.rb:42:in `start'
54: from /Library/Ruby/Gems/2.6.0/gems/railties-5.1.7/lib/rails/commands/server/server_command.rb:80:in `log_to_stdout'
53: from /Library/Ruby/Gems/2.6.0/gems/rack-2.2.2/lib/rack/server.rb:422:in `wrapped_app'
52: from /Library/Ruby/Gems/2.6.0/gems/railties-5.1.7/lib/rails/commands/server/server_command.rb:24:in `app'
51: from /Library/Ruby/Gems/2.6.0/gems/rack-2.2.2/lib/rack/server.rb:249:in `app'
50: from /Library/Ruby/Gems/2.6.0/gems/rack-2.2.2/lib/rack/server.rb:349:in `build_app_and_options_from_config'
49: from /Library/Ruby/Gems/2.6.0/gems/rack-2.2.2/lib/rack/builder.rb:66:in `parse_file'
48: from /Library/Ruby/Gems/2.6.0/gems/rack-2.2.2/lib/rack/builder.rb:105:in `load_file'
47: from /Library/Ruby/Gems/2.6.0/gems/rack-2.2.2/lib/rack/builder.rb:116:in `new_from_string'
46: from /Library/Ruby/Gems/2.6.0/gems/rack-2.2.2/lib/rack/builder.rb:116:in `eval'
45: from config.ru:3:in `block in <main>'
44: from /Library/Ruby/Gems/2.6.0/gems/activesupport-5.1.7/lib/active_support/dependencies.rb:292:in `require'
43: from /Library/Ruby/Gems/2.6.0/gems/activesupport-5.1.7/lib/active_support/dependencies.rb:258:in `load_dependency'
42: from /Library/Ruby/Gems/2.6.0/gems/activesupport-5.1.7/lib/active_support/dependencies.rb:292:in `block in require'
41: from /Library/Ruby/Gems/2.6.0/gems/activesupport-5.1.7/lib/active_support/dependencies.rb:292:in `require'
40: from /Users/kevinchoi/projects/resources/misc/teachpulse/config/environment.rb:8:in `<top (required)>'
39: from /Library/Ruby/Gems/2.6.0/gems/railties-5.1.7/lib/rails/application.rb:353:in `initialize!'
38: from /Library/Ruby/Gems/2.6.0/gems/railties-5.1.7/lib/rails/initializable.rb:58:in `run_initializers'
37: from /System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/lib/ruby/2.6.0/tsort.rb:205:in `tsort_each'
36: from /System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/lib/ruby/2.6.0/tsort.rb:226:in `tsort_each'
35: from /System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/lib/ruby/2.6.0/tsort.rb:347:in `each_strongly_connected_component'
34: from /System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/lib/ruby/2.6.0/tsort.rb:347:in `call'
33: from /System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/lib/ruby/2.6.0/tsort.rb:347:in `each'
32: from /System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/lib/ruby/2.6.0/tsort.rb:349:in `block in each_strongly_connected_component'
31: from /System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/lib/ruby/2.6.0/tsort.rb:431:in `each_strongly_connected_component_from'
30: from /System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/lib/ruby/2.6.0/tsort.rb:350:in `block (2 levels) in each_strongly_connected_component'
29: from /System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/lib/ruby/2.6.0/tsort.rb:228:in `block in tsort_each'
28: from /Library/Ruby/Gems/2.6.0/gems/railties-5.1.7/lib/rails/initializable.rb:59:in `block in run_initializers'
27: from /Library/Ruby/Gems/2.6.0/gems/railties-5.1.7/lib/rails/initializable.rb:30:in `run'
26: from /Library/Ruby/Gems/2.6.0/gems/railties-5.1.7/lib/rails/initializable.rb:30:in `instance_exec'
25: from /Library/Ruby/Gems/2.6.0/gems/activerecord-5.1.7/lib/active_record/railtie.rb:120:in `block in <class:Railtie>'
24: from /Library/Ruby/Gems/2.6.0/gems/activesupport-5.1.7/lib/active_support/lazy_load_hooks.rb:40:in `on_load'
23: from /Library/Ruby/Gems/2.6.0/gems/activesupport-5.1.7/lib/active_support/lazy_load_hooks.rb:40:in `each'
22: from /Library/Ruby/Gems/2.6.0/gems/activesupport-5.1.7/lib/active_support/lazy_load_hooks.rb:41:in `block in on_load'
21: from /Library/Ruby/Gems/2.6.0/gems/activesupport-5.1.7/lib/active_support/lazy_load_hooks.rb:65:in `execute_hook'
20: from /Library/Ruby/Gems/2.6.0/gems/activesupport-5.1.7/lib/active_support/lazy_load_hooks.rb:60:in `with_execution_control'
19: from /Library/Ruby/Gems/2.6.0/gems/activesupport-5.1.7/lib/active_support/lazy_load_hooks.rb:69:in `block in execute_hook'
18: from /Library/Ruby/Gems/2.6.0/gems/activesupport-5.1.7/lib/active_support/lazy_load_hooks.rb:69:in `instance_eval'
17: from /Library/Ruby/Gems/2.6.0/gems/activerecord-5.1.7/lib/active_record/railtie.rb:124:in `block (2 levels) in <class:Railtie>'
16: from /Library/Ruby/Gems/2.6.0/gems/activerecord-5.1.7/lib/active_record/connection_handling.rb:58:in `establish_connection'
15: from /Library/Ruby/Gems/2.6.0/gems/activerecord-5.1.7/lib/active_record/connection_adapters/abstract/connection_pool.rb:882:in `establish_connection'
14: from /Library/Ruby/Gems/2.6.0/gems/activerecord-5.1.7/lib/active_record/connection_adapters/connection_specification.rb:186:in `spec'
13: from /Library/Ruby/Gems/2.6.0/gems/activesupport-5.1.7/lib/active_support/dependencies.rb:292:in `require'
12: from /Library/Ruby/Gems/2.6.0/gems/activesupport-5.1.7/lib/active_support/dependencies.rb:258:in `load_dependency'
11: from /Library/Ruby/Gems/2.6.0/gems/activesupport-5.1.7/lib/active_support/dependencies.rb:292:in `block in require'
10: from /Library/Ruby/Gems/2.6.0/gems/activesupport-5.1.7/lib/active_support/dependencies.rb:292:in `require'
9: from /Library/Ruby/Gems/2.6.0/gems/activerecord-5.1.7/lib/active_record/connection_adapters/postgresql_adapter.rb:3:in `<top (required)>'
8: from /Library/Ruby/Gems/2.6.0/gems/activesupport-5.1.7/lib/active_support/dependencies.rb:292:in `require'
7: from /Library/Ruby/Gems/2.6.0/gems/activesupport-5.1.7/lib/active_support/dependencies.rb:258:in `load_dependency'
6: from /Library/Ruby/Gems/2.6.0/gems/activesupport-5.1.7/lib/active_support/dependencies.rb:292:in `block in require'
5: from /Library/Ruby/Gems/2.6.0/gems/activesupport-5.1.7/lib/active_support/dependencies.rb:292:in `require'
4: from /Library/Ruby/Gems/2.6.0/gems/pg-1.2.3/lib/pg.rb:5:in `<top (required)>'
3: from /Library/Ruby/Gems/2.6.0/gems/activesupport-5.1.7/lib/active_support/dependencies.rb:292:in `require'
2: from /Library/Ruby/Gems/2.6.0/gems/activesupport-5.1.7/lib/active_support/dependencies.rb:258:in `load_dependency'
1: from /Library/Ruby/Gems/2.6.0/gems/activesupport-5.1.7/lib/active_support/dependencies.rb:292:in `block in require'
/Library/Ruby/Gems/2.6.0/gems/activesupport-5.1.7/lib/active_support/dependencies.rb:292:in `require': Could not load 'active_record/connection_adapters/postgresql_adapter'. Make sure that the adapter in config/database.yml is valid. If you use an adapter other than 'mysql2', 'postgresql' or 'sqlite3' add the necessary adapter gem to the Gemfile. (LoadError)
The last line of the logs:
Make sure that the adapter in config/database.yml is valid. If you use an adapter other than 'mysql2', 'postgresql' or 'sqlite3' add the necessary adapter gem to the Gemfile. (LoadError)
Here for PostgreSQL. you can checkout a sample database.yml config file, or if you are using another adapter, add the gem to your Gemfile

Brand new Rails app 6.0.2.1 using Ruby 2.7.0 causes Traceback (most recent call last): bin/rails: Bootsnap::LoadPathCache::FallbackScan

this appears to be happening for me on a brand new rails app 6.0.2.1 running Ruby 2.7.0
$ be rails s
=> Booting Puma
=> Rails 6.0.2.1 application starting in development
=> Run `rails server --help` for more startup options
/Users/jason/.rvm/gems/ruby-2.7.0/gems/actionpack-6.0.2.1/lib/action_dispatch/middleware/stack.rb:37: warning: Using the last argument as keyword parameters is deprecated; maybe ** should be added to the call
/Users/jason/.rvm/gems/ruby-2.7.0/gems/actionpack-6.0.2.1/lib/action_dispatch/middleware/static.rb:110: warning: The called method `initialize' is defined here
Exiting
Traceback (most recent call last):
bin/rails: Bootsnap::LoadPathCache::FallbackScan
74: from bin/rails:9:in `<main>'
73: from /Users/jason/.rvm/gems/ruby-2.7.0/gems/activesupport-6.0.2.1/lib/active_support/dependencies.rb:325:in `require'
72: from /Users/jason/.rvm/gems/ruby-2.7.0/gems/activesupport-6.0.2.1/lib/active_support/dependencies.rb:291:in `load_dependency'
71: from /Users/jason/.rvm/gems/ruby-2.7.0/gems/activesupport-6.0.2.1/lib/active_support/dependencies.rb:325:in `block in require'
70: from /Users/jason/.rvm/gems/ruby-2.7.0/gems/bootsnap-1.4.5/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:30:in `require'
69: from /Users/jason/.rvm/gems/ruby-2.7.0/gems/bootsnap-1.4.5/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:21:in `require_with_bootsnap_lfi'
68: from /Users/jason/.rvm/gems/ruby-2.7.0/gems/bootsnap-1.4.5/lib/bootsnap/load_path_cache/loaded_features_index.rb:92:in `register'
67: from /Users/jason/.rvm/gems/ruby-2.7.0/gems/bootsnap-1.4.5/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:22:in `block in require_with_bootsnap_lfi'
66: from /Users/jason/.rvm/gems/ruby-2.7.0/gems/bootsnap-1.4.5/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:22:in `require'
65: from /Users/jason/.rvm/gems/ruby-2.7.0/gems/railties-6.0.2.1/lib/rails/commands.rb:18:in `<main>'
64: from /Users/jason/.rvm/gems/ruby-2.7.0/gems/railties-6.0.2.1/lib/rails/command.rb:46:in `invoke'
63: from /Users/jason/.rvm/gems/ruby-2.7.0/gems/railties-6.0.2.1/lib/rails/command/base.rb:69:in `perform'
62: from /Users/jason/.rvm/gems/ruby-2.7.0/gems/thor-1.0.1/lib/thor.rb:392:in `dispatch'
61: from /Users/jason/.rvm/gems/ruby-2.7.0/gems/thor-1.0.1/lib/thor/invocation.rb:127:in `invoke_command'
60: from /Users/jason/.rvm/gems/ruby-2.7.0/gems/thor-1.0.1/lib/thor/command.rb:27:in `run'
59: from /Users/jason/.rvm/gems/ruby-2.7.0/gems/railties-6.0.2.1/lib/rails/commands/server/server_command.rb:138:in `perform'
58: from /Users/jason/.rvm/gems/ruby-2.7.0/gems/railties-6.0.2.1/lib/rails/commands/server/server_command.rb:138:in `tap'
57: from /Users/jason/.rvm/gems/ruby-2.7.0/gems/railties-6.0.2.1/lib/rails/commands/server/server_command.rb:147:in `block in perform'
56: from /Users/jason/.rvm/gems/ruby-2.7.0/gems/railties-6.0.2.1/lib/rails/commands/server/server_command.rb:37:in `start'
55: from /Users/jason/.rvm/gems/ruby-2.7.0/gems/railties-6.0.2.1/lib/rails/commands/server/server_command.rb:77:in `log_to_stdout'
54: from /Users/jason/.rvm/gems/ruby-2.7.0/gems/rack-2.2.2/lib/rack/server.rb:422:in `wrapped_app'
53: from /Users/jason/.rvm/gems/ruby-2.7.0/gems/rack-2.2.2/lib/rack/server.rb:249:in `app'
52: from /Users/jason/.rvm/gems/ruby-2.7.0/gems/rack-2.2.2/lib/rack/server.rb:349:in `build_app_and_options_from_config'
51: from /Users/jason/.rvm/gems/ruby-2.7.0/gems/rack-2.2.2/lib/rack/builder.rb:66:in `parse_file'
50: from /Users/jason/.rvm/gems/ruby-2.7.0/gems/rack-2.2.2/lib/rack/builder.rb:105:in `load_file'
49: from /Users/jason/.rvm/gems/ruby-2.7.0/gems/rack-2.2.2/lib/rack/builder.rb:116:in `new_from_string'
48: from /Users/jason/.rvm/gems/ruby-2.7.0/gems/rack-2.2.2/lib/rack/builder.rb:116:in `eval'
47: from config.ru:3:in `block in <main>'
46: from /Users/jason/.rvm/gems/ruby-2.7.0/gems/bootsnap-1.4.5/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:48:in `require_relative'
45: from /Users/jason/.rvm/gems/ruby-2.7.0/gems/activesupport-6.0.2.1/lib/active_support/dependencies.rb:325:in `require'
44: from /Users/jason/.rvm/gems/ruby-2.7.0/gems/activesupport-6.0.2.1/lib/active_support/dependencies.rb:291:in `load_dependency'
43: from /Users/jason/.rvm/gems/ruby-2.7.0/gems/activesupport-6.0.2.1/lib/active_support/dependencies.rb:325:in `block in require'
42: from /Users/jason/.rvm/gems/ruby-2.7.0/gems/zeitwerk-2.2.2/lib/zeitwerk/kernel.rb:23:in `require'
41: from /Users/jason/.rvm/gems/ruby-2.7.0/gems/bootsnap-1.4.5/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:30:in `require'
40: from /Users/jason/.rvm/gems/ruby-2.7.0/gems/bootsnap-1.4.5/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:21:in `require_with_bootsnap_lfi'
39: from /Users/jason/.rvm/gems/ruby-2.7.0/gems/bootsnap-1.4.5/lib/bootsnap/load_path_cache/loaded_features_index.rb:92:in `register'
38: from /Users/jason/.rvm/gems/ruby-2.7.0/gems/bootsnap-1.4.5/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:22:in `block in require_with_bootsnap_lfi'
37: from /Users/jason/.rvm/gems/ruby-2.7.0/gems/bootsnap-1.4.5/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:22:in `require'
36: from /Users/jason/Work/Verso/verso-commerce/config/environment.rb:5:in `<main>'
35: from /Users/jason/.rvm/gems/ruby-2.7.0/gems/railties-6.0.2.1/lib/rails/application.rb:363:in `initialize!'
34: from /Users/jason/.rvm/gems/ruby-2.7.0/gems/railties-6.0.2.1/lib/rails/initializable.rb:60:in `run_initializers'
33: from /Users/jason/.rvm/rubies/ruby-2.7.0/lib/ruby/2.7.0/tsort.rb:205:in `tsort_each'
32: from /Users/jason/.rvm/rubies/ruby-2.7.0/lib/ruby/2.7.0/tsort.rb:226:in `tsort_each'
31: from /Users/jason/.rvm/rubies/ruby-2.7.0/lib/ruby/2.7.0/tsort.rb:347:in `each_strongly_connected_component'
30: from /Users/jason/.rvm/rubies/ruby-2.7.0/lib/ruby/2.7.0/tsort.rb:347:in `call'
29: from /Users/jason/.rvm/rubies/ruby-2.7.0/lib/ruby/2.7.0/tsort.rb:347:in `each'
28: from /Users/jason/.rvm/rubies/ruby-2.7.0/lib/ruby/2.7.0/tsort.rb:349:in `block in each_strongly_connected_component'
27: from /Users/jason/.rvm/rubies/ruby-2.7.0/lib/ruby/2.7.0/tsort.rb:431:in `each_strongly_connected_component_from'
26: from /Users/jason/.rvm/rubies/ruby-2.7.0/lib/ruby/2.7.0/tsort.rb:350:in `block (2 levels) in each_strongly_connected_component'
25: from /Users/jason/.rvm/rubies/ruby-2.7.0/lib/ruby/2.7.0/tsort.rb:228:in `block in tsort_each'
24: from /Users/jason/.rvm/gems/ruby-2.7.0/gems/railties-6.0.2.1/lib/rails/initializable.rb:61:in `block in run_initializers'
23: from /Users/jason/.rvm/gems/ruby-2.7.0/gems/railties-6.0.2.1/lib/rails/initializable.rb:32:in `run'
22: from /Users/jason/.rvm/gems/ruby-2.7.0/gems/railties-6.0.2.1/lib/rails/initializable.rb:32:in `instance_exec'
21: from /Users/jason/.rvm/gems/ruby-2.7.0/gems/railties-6.0.2.1/lib/rails/application/finisher.rb:129:in `block in <module:Finisher>'
20: from /Users/jason/.rvm/gems/ruby-2.7.0/gems/activesupport-6.0.2.1/lib/active_support/lazy_load_hooks.rb:51:in `run_load_hooks'
19: from /Users/jason/.rvm/gems/ruby-2.7.0/gems/activesupport-6.0.2.1/lib/active_support/lazy_load_hooks.rb:51:in `each'
18: from /Users/jason/.rvm/gems/ruby-2.7.0/gems/activesupport-6.0.2.1/lib/active_support/lazy_load_hooks.rb:52:in `block in run_load_hooks'
17: from /Users/jason/.rvm/gems/ruby-2.7.0/gems/activesupport-6.0.2.1/lib/active_support/lazy_load_hooks.rb:67:in `execute_hook'
16: from /Users/jason/.rvm/gems/ruby-2.7.0/gems/activesupport-6.0.2.1/lib/active_support/lazy_load_hooks.rb:62:in `with_execution_control'
15: from /Users/jason/.rvm/gems/ruby-2.7.0/gems/activesupport-6.0.2.1/lib/active_support/lazy_load_hooks.rb:69:in `block in execute_hook'
14: from /Users/jason/.rvm/gems/ruby-2.7.0/gems/activesupport-6.0.2.1/lib/active_support/i18n_railtie.rb:22:in `block in <class:Railtie>'
13: from /Users/jason/.rvm/gems/ruby-2.7.0/gems/activesupport-6.0.2.1/lib/active_support/i18n_railtie.rb:64:in `initialize_i18n'
12: from /Users/jason/.rvm/gems/ruby-2.7.0/gems/activesupport-6.0.2.1/lib/active_support/i18n_railtie.rb:64:in `new'
11: from /Users/jason/.rvm/gems/ruby-2.7.0/gems/activesupport-6.0.2.1/lib/active_support/evented_file_update_checker.rb:62:in `initialize'
10: from /Users/jason/.rvm/gems/ruby-2.7.0/gems/activesupport-6.0.2.1/lib/active_support/core_ext/kernel/reporting.rb:15:in `silence_warnings'
9: from /Users/jason/.rvm/gems/ruby-2.7.0/gems/activesupport-6.0.2.1/lib/active_support/core_ext/kernel/reporting.rb:28:in `with_warnings'
8: from /Users/jason/.rvm/gems/ruby-2.7.0/gems/activesupport-6.0.2.1/lib/active_support/core_ext/kernel/reporting.rb:15:in `block in silence_warnings'
7: from /Users/jason/.rvm/gems/ruby-2.7.0/gems/activesupport-6.0.2.1/lib/active_support/evented_file_update_checker.rb:63:in `block in initialize'
6: from /Users/jason/.rvm/gems/ruby-2.7.0/gems/zeitwerk-2.2.2/lib/zeitwerk/kernel.rb:23:in `require'
5: from /Users/jason/.rvm/gems/ruby-2.7.0/gems/bootsnap-1.4.5/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:26:in `require'
4: from /Users/jason/.rvm/gems/ruby-2.7.0/gems/bootsnap-1.4.5/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:40:in `rescue in require'
3: from /Users/jason/.rvm/gems/ruby-2.7.0/gems/bootsnap-1.4.5/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:21:in `require_with_bootsnap_lfi'
2: from /Users/jason/.rvm/gems/ruby-2.7.0/gems/bootsnap-1.4.5/lib/bootsnap/load_path_cache/loaded_features_index.rb:89:in `register'
1: from /Users/jason/.rvm/gems/ruby-2.7.0/gems/bootsnap-1.4.5/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:22:in `block in require_with_bootsnap_lfi'
/Users/jason/.rvm/gems/ruby-2.7.0/gems/bootsnap-1.4.5/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:22:in `require': cannot load such file -- listen (LoadError)
74: from bin/rails:9:in `<main>'
73: from /Users/jason/.rvm/gems/ruby-2.7.0/gems/activesupport-6.0.2.1/lib/active_support/dependencies.rb:325:in `require'
72: from /Users/jason/.rvm/gems/ruby-2.7.0/gems/activesupport-6.0.2.1/lib/active_support/dependencies.rb:291:in `load_dependency'
71: from /Users/jason/.rvm/gems/ruby-2.7.0/gems/activesupport-6.0.2.1/lib/active_support/dependencies.rb:325:in `block in require'
70: from /Users/jason/.rvm/gems/ruby-2.7.0/gems/bootsnap-1.4.5/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:30:in `require'
69: from /Users/jason/.rvm/gems/ruby-2.7.0/gems/bootsnap-1.4.5/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:21:in `require_with_bootsnap_lfi'
68: from /Users/jason/.rvm/gems/ruby-2.7.0/gems/bootsnap-1.4.5/lib/bootsnap/load_path_cache/loaded_features_index.rb:92:in `register'
67: from /Users/jason/.rvm/gems/ruby-2.7.0/gems/bootsnap-1.4.5/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:22:in `block in require_with_bootsnap_lfi'
66: from /Users/jason/.rvm/gems/ruby-2.7.0/gems/bootsnap-1.4.5/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:22:in `require'
65: from /Users/jason/.rvm/gems/ruby-2.7.0/gems/railties-6.0.2.1/lib/rails/commands.rb:18:in `<main>'
64: from /Users/jason/.rvm/gems/ruby-2.7.0/gems/railties-6.0.2.1/lib/rails/command.rb:46:in `invoke'
63: from /Users/jason/.rvm/gems/ruby-2.7.0/gems/railties-6.0.2.1/lib/rails/command/base.rb:69:in `perform'
62: from /Users/jason/.rvm/gems/ruby-2.7.0/gems/thor-1.0.1/lib/thor.rb:392:in `dispatch'
61: from /Users/jason/.rvm/gems/ruby-2.7.0/gems/thor-1.0.1/lib/thor/invocation.rb:127:in `invoke_command'
60: from /Users/jason/.rvm/gems/ruby-2.7.0/gems/thor-1.0.1/lib/thor/command.rb:27:in `run'
59: from /Users/jason/.rvm/gems/ruby-2.7.0/gems/railties-6.0.2.1/lib/rails/commands/server/server_command.rb:138:in `perform'
58: from /Users/jason/.rvm/gems/ruby-2.7.0/gems/railties-6.0.2.1/lib/rails/commands/server/server_command.rb:138:in `tap'
57: from /Users/jason/.rvm/gems/ruby-2.7.0/gems/railties-6.0.2.1/lib/rails/commands/server/server_command.rb:147:in `block in perform'
56: from /Users/jason/.rvm/gems/ruby-2.7.0/gems/railties-6.0.2.1/lib/rails/commands/server/server_command.rb:37:in `start'
55: from /Users/jason/.rvm/gems/ruby-2.7.0/gems/railties-6.0.2.1/lib/rails/commands/server/server_command.rb:77:in `log_to_stdout'
54: from /Users/jason/.rvm/gems/ruby-2.7.0/gems/rack-2.2.2/lib/rack/server.rb:422:in `wrapped_app'
53: from /Users/jason/.rvm/gems/ruby-2.7.0/gems/rack-2.2.2/lib/rack/server.rb:249:in `app'
52: from /Users/jason/.rvm/gems/ruby-2.7.0/gems/rack-2.2.2/lib/rack/server.rb:349:in `build_app_and_options_from_config'
51: from /Users/jason/.rvm/gems/ruby-2.7.0/gems/rack-2.2.2/lib/rack/builder.rb:66:in `parse_file'
50: from /Users/jason/.rvm/gems/ruby-2.7.0/gems/rack-2.2.2/lib/rack/builder.rb:105:in `load_file'
49: from /Users/jason/.rvm/gems/ruby-2.7.0/gems/rack-2.2.2/lib/rack/builder.rb:116:in `new_from_string'
48: from /Users/jason/.rvm/gems/ruby-2.7.0/gems/rack-2.2.2/lib/rack/builder.rb:116:in `eval'
47: from config.ru:3:in `block in <main>'
46: from /Users/jason/.rvm/gems/ruby-2.7.0/gems/bootsnap-1.4.5/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:48:in `require_relative'
45: from /Users/jason/.rvm/gems/ruby-2.7.0/gems/activesupport-6.0.2.1/lib/active_support/dependencies.rb:325:in `require'
44: from /Users/jason/.rvm/gems/ruby-2.7.0/gems/activesupport-6.0.2.1/lib/active_support/dependencies.rb:291:in `load_dependency'
43: from /Users/jason/.rvm/gems/ruby-2.7.0/gems/activesupport-6.0.2.1/lib/active_support/dependencies.rb:325:in `block in require'
42: from /Users/jason/.rvm/gems/ruby-2.7.0/gems/zeitwerk-2.2.2/lib/zeitwerk/kernel.rb:23:in `require'
41: from /Users/jason/.rvm/gems/ruby-2.7.0/gems/bootsnap-1.4.5/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:30:in `require'
40: from /Users/jason/.rvm/gems/ruby-2.7.0/gems/bootsnap-1.4.5/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:21:in `require_with_bootsnap_lfi'
39: from /Users/jason/.rvm/gems/ruby-2.7.0/gems/bootsnap-1.4.5/lib/bootsnap/load_path_cache/loaded_features_index.rb:92:in `register'
38: from /Users/jason/.rvm/gems/ruby-2.7.0/gems/bootsnap-1.4.5/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:22:in `block in require_with_bootsnap_lfi'
37: from /Users/jason/.rvm/gems/ruby-2.7.0/gems/bootsnap-1.4.5/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:22:in `require'
36: from /Users/jason/Work/Verso/verso-commerce/config/environment.rb:5:in `<main>'
35: from /Users/jason/.rvm/gems/ruby-2.7.0/gems/railties-6.0.2.1/lib/rails/application.rb:363:in `initialize!'
34: from /Users/jason/.rvm/gems/ruby-2.7.0/gems/railties-6.0.2.1/lib/rails/initializable.rb:60:in `run_initializers'
33: from /Users/jason/.rvm/rubies/ruby-2.7.0/lib/ruby/2.7.0/tsort.rb:205:in `tsort_each'
32: from /Users/jason/.rvm/rubies/ruby-2.7.0/lib/ruby/2.7.0/tsort.rb:226:in `tsort_each'
31: from /Users/jason/.rvm/rubies/ruby-2.7.0/lib/ruby/2.7.0/tsort.rb:347:in `each_strongly_connected_component'
30: from /Users/jason/.rvm/rubies/ruby-2.7.0/lib/ruby/2.7.0/tsort.rb:347:in `call'
29: from /Users/jason/.rvm/rubies/ruby-2.7.0/lib/ruby/2.7.0/tsort.rb:347:in `each'
28: from /Users/jason/.rvm/rubies/ruby-2.7.0/lib/ruby/2.7.0/tsort.rb:349:in `block in each_strongly_connected_component'
27: from /Users/jason/.rvm/rubies/ruby-2.7.0/lib/ruby/2.7.0/tsort.rb:431:in `each_strongly_connected_component_from'
26: from /Users/jason/.rvm/rubies/ruby-2.7.0/lib/ruby/2.7.0/tsort.rb:350:in `block (2 levels) in each_strongly_connected_component'
25: from /Users/jason/.rvm/rubies/ruby-2.7.0/lib/ruby/2.7.0/tsort.rb:228:in `block in tsort_each'
24: from /Users/jason/.rvm/gems/ruby-2.7.0/gems/railties-6.0.2.1/lib/rails/initializable.rb:61:in `block in run_initializers'
23: from /Users/jason/.rvm/gems/ruby-2.7.0/gems/railties-6.0.2.1/lib/rails/initializable.rb:32:in `run'
22: from /Users/jason/.rvm/gems/ruby-2.7.0/gems/railties-6.0.2.1/lib/rails/initializable.rb:32:in `instance_exec'
21: from /Users/jason/.rvm/gems/ruby-2.7.0/gems/railties-6.0.2.1/lib/rails/application/finisher.rb:129:in `block in <module:Finisher>'
20: from /Users/jason/.rvm/gems/ruby-2.7.0/gems/activesupport-6.0.2.1/lib/active_support/lazy_load_hooks.rb:51:in `run_load_hooks'
19: from /Users/jason/.rvm/gems/ruby-2.7.0/gems/activesupport-6.0.2.1/lib/active_support/lazy_load_hooks.rb:51:in `each'
18: from /Users/jason/.rvm/gems/ruby-2.7.0/gems/activesupport-6.0.2.1/lib/active_support/lazy_load_hooks.rb:52:in `block in run_load_hooks'
17: from /Users/jason/.rvm/gems/ruby-2.7.0/gems/activesupport-6.0.2.1/lib/active_support/lazy_load_hooks.rb:67:in `execute_hook'
16: from /Users/jason/.rvm/gems/ruby-2.7.0/gems/activesupport-6.0.2.1/lib/active_support/lazy_load_hooks.rb:62:in `with_execution_control'
15: from /Users/jason/.rvm/gems/ruby-2.7.0/gems/activesupport-6.0.2.1/lib/active_support/lazy_load_hooks.rb:69:in `block in execute_hook'
14: from /Users/jason/.rvm/gems/ruby-2.7.0/gems/activesupport-6.0.2.1/lib/active_support/i18n_railtie.rb:22:in `block in <class:Railtie>'
13: from /Users/jason/.rvm/gems/ruby-2.7.0/gems/activesupport-6.0.2.1/lib/active_support/i18n_railtie.rb:64:in `initialize_i18n'
12: from /Users/jason/.rvm/gems/ruby-2.7.0/gems/activesupport-6.0.2.1/lib/active_support/i18n_railtie.rb:64:in `new'
11: from /Users/jason/.rvm/gems/ruby-2.7.0/gems/activesupport-6.0.2.1/lib/active_support/evented_file_update_checker.rb:62:in `initialize'
10: from /Users/jason/.rvm/gems/ruby-2.7.0/gems/activesupport-6.0.2.1/lib/active_support/core_ext/kernel/reporting.rb:15:in `silence_warnings'
9: from /Users/jason/.rvm/gems/ruby-2.7.0/gems/activesupport-6.0.2.1/lib/active_support/core_ext/kernel/reporting.rb:28:in `with_warnings'
8: from /Users/jason/.rvm/gems/ruby-2.7.0/gems/activesupport-6.0.2.1/lib/active_support/core_ext/kernel/reporting.rb:15:in `block in silence_warnings'
7: from /Users/jason/.rvm/gems/ruby-2.7.0/gems/activesupport-6.0.2.1/lib/active_support/evented_file_update_checker.rb:63:in `block in initialize'
6: from /Users/jason/.rvm/gems/ruby-2.7.0/gems/zeitwerk-2.2.2/lib/zeitwerk/kernel.rb:23:in `require'
5: from /Users/jason/.rvm/gems/ruby-2.7.0/gems/bootsnap-1.4.5/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:26:in `require'
4: from /Users/jason/.rvm/gems/ruby-2.7.0/gems/bootsnap-1.4.5/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:40:in `rescue in require'
3: from /Users/jason/.rvm/gems/ruby-2.7.0/gems/bootsnap-1.4.5/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:21:in `require_with_bootsnap_lfi'
2: from /Users/jason/.rvm/gems/ruby-2.7.0/gems/bootsnap-1.4.5/lib/bootsnap/load_path_cache/loaded_features_index.rb:89:in `register'
1: from /Users/jason/.rvm/gems/ruby-2.7.0/gems/bootsnap-1.4.5/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:22:in `block in require_with_bootsnap_lfi'
/Users/jason/.rvm/gems/ruby-2.7.0/gems/bootsnap-1.4.5/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)

My rails server exits automatically and now gives the following error:

Macs-MBP:myapp mac$ rails server
=> Booting Puma
=> Rails 6.0.1 application starting in development
=> Run `rails server --help` for more startup options
Exiting
Traceback (most recent call last):
80: from bin/rails:3:in `<main>'
79: from bin/rails:3:in `load'
78: from /Users/mac/myapp/bin/spring:15:in `<top (required)>'
77: from /Users/mac/.rvm/rubies/ruby-2.6.0/lib/ruby/site_ruby/2.6.0/rubygems/core_ext/kernel_require.rb:54:in `require'
76: from /Users/mac/.rvm/rubies/ruby-2.6.0/lib/ruby/site_ruby/2.6.0/rubygems/core_ext/kernel_require.rb:54:in `require'
75: from /Users/mac/.rvm/gems/ruby-2.6.0/gems/spring-2.1.0/lib/spring/binstub.rb:11:in `<top (required)>'
74: from /Users/mac/.rvm/gems/ruby-2.6.0/gems/spring-2.1.0/lib/spring/binstub.rb:11:in `load'
73: from /Users/mac/.rvm/gems/ruby-2.6.0/gems/spring-2.1.0/bin/spring:49:in `<top (required)>'
72: from /Users/mac/.rvm/gems/ruby-2.6.0/gems/spring-2.1.0/lib/spring/client.rb:30:in `run'
71: from /Users/mac/.rvm/gems/ruby-2.6.0/gems/spring-2.1.0/lib/spring/client/command.rb:7:in `call'
70: from /Users/mac/.rvm/gems/ruby-2.6.0/gems/spring-2.1.0/lib/spring/client/rails.rb:28:in `call'
69: from /Users/mac/.rvm/gems/ruby-2.6.0/gems/spring-2.1.0/lib/spring/client/rails.rb:28:in `load'
68: from /Users/mac/myapp/bin/rails:9:in `<top (required)>'
67: from /Users/mac/.rvm/gems/ruby-2.6.0/gems/activesupport-6.0.1/lib/active_support/dependencies.rb:325:in `require'
66: from /Users/mac/.rvm/gems/ruby-2.6.0/gems/activesupport-6.0.1/lib/active_support/dependencies.rb:291:in `load_dependency'
65: from /Users/mac/.rvm/gems/ruby-2.6.0/gems/activesupport-6.0.1/lib/active_support/dependencies.rb:325:in `block in require'
64: from /Users/mac/.rvm/gems/ruby-2.6.0/gems/bootsnap-1.4.5/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:30:in `require'
63: from /Users/mac/.rvm/gems/ruby-2.6.0/gems/bootsnap-1.4.5/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:21:in `require_with_bootsnap_lfi'
62: from /Users/mac/.rvm/gems/ruby-2.6.0/gems/bootsnap-1.4.5/lib/bootsnap/load_path_cache/loaded_features_index.rb:92:in `register'
61: from /Users/mac/.rvm/gems/ruby-2.6.0/gems/bootsnap-1.4.5/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:22:in `block in require_with_bootsnap_lfi'
60: from /Users/mac/.rvm/gems/ruby-2.6.0/gems/bootsnap-1.4.5/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:22:in `require'
59: from /Users/mac/.rvm/gems/ruby-2.6.0/gems/railties-6.0.1/lib/rails/commands.rb:18:in `<main>'
58: from /Users/mac/.rvm/gems/ruby-2.6.0/gems/railties-6.0.1/lib/rails/command.rb:46:in `invoke'
57: from /Users/mac/.rvm/gems/ruby-2.6.0/gems/railties-6.0.1/lib/rails/command/base.rb:65:in `perform'
56: from /Users/mac/.rvm/gems/ruby-2.6.0/gems/thor-0.20.3/lib/thor.rb:387:in `dispatch'
55: from /Users/mac/.rvm/gems/ruby-2.6.0/gems/thor-0.20.3/lib/thor/invocation.rb:126:in `invoke_command'
54: from /Users/mac/.rvm/gems/ruby-2.6.0/gems/thor-0.20.3/lib/thor/command.rb:27:in `run'
53: from /Users/mac/.rvm/gems/ruby-2.6.0/gems/railties-6.0.1/lib/rails/commands/server/server_command.rb:138:in `perform'
52: from /Users/mac/.rvm/gems/ruby-2.6.0/gems/railties-6.0.1/lib/rails/commands/server/server_command.rb:138:in `tap'
51: from /Users/mac/.rvm/gems/ruby-2.6.0/gems/railties-6.0.1/lib/rails/commands/server/server_command.rb:147:in `block in perform'
50: from /Users/mac/.rvm/gems/ruby-2.6.0/gems/railties-6.0.1/lib/rails/commands/server/server_command.rb:37:in `start'
49: from /Users/mac/.rvm/gems/ruby-2.6.0/gems/railties-6.0.1/lib/rails/commands/server/server_command.rb:77:in `log_to_stdout'
48: from /Users/mac/.rvm/gems/ruby-2.6.0/gems/rack-2.0.7/lib/rack/server.rb:354:in `wrapped_app'
47: from /Users/mac/.rvm/gems/ruby-2.6.0/gems/rack-2.0.7/lib/rack/server.rb:219:in `app'
46: from /Users/mac/.rvm/gems/ruby-2.6.0/gems/rack-2.0.7/lib/rack/server.rb:319:in `build_app_and_options_from_config'
45: from /Users/mac/.rvm/gems/ruby-2.6.0/gems/rack-2.0.7/lib/rack/builder.rb:40:in `parse_file'
44: from /Users/mac/.rvm/gems/ruby-2.6.0/gems/rack-2.0.7/lib/rack/builder.rb:49:in `new_from_string'
43: from /Users/mac/.rvm/gems/ruby-2.6.0/gems/rack-2.0.7/lib/rack/builder.rb:49:in `eval'
42: from config.ru:in `<main>'
41: from config.ru:in `new'
40: from /Users/mac/.rvm/gems/ruby-2.6.0/gems/rack-2.0.7/lib/rack/builder.rb:55:in `initialize'
39: from /Users/mac/.rvm/gems/ruby-2.6.0/gems/rack-2.0.7/lib/rack/builder.rb:55:in `instance_eval'
38: from config.ru:3:in `block in <main>'
37: from /Users/mac/.rvm/gems/ruby-2.6.0/gems/bootsnap-1.4.5/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:48:in `require_relative'
36: from /Users/mac/.rvm/gems/ruby-2.6.0/gems/activesupport-6.0.1/lib/active_support/dependencies.rb:325:in `require'
35: from /Users/mac/.rvm/gems/ruby-2.6.0/gems/activesupport-6.0.1/lib/active_support/dependencies.rb:291:in `load_dependency'
34: from /Users/mac/.rvm/gems/ruby-2.6.0/gems/activesupport-6.0.1/lib/active_support/dependencies.rb:325:in `block in require'
33: from /Users/mac/.rvm/gems/ruby-2.6.0/gems/zeitwerk-2.2.1/lib/zeitwerk/kernel.rb:23:in `require'
32: from /Users/mac/.rvm/gems/ruby-2.6.0/gems/bootsnap-1.4.5/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:30:in `require'
31: from /Users/mac/.rvm/gems/ruby-2.6.0/gems/bootsnap-1.4.5/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:21:in `require_with_bootsnap_lfi'
30: from /Users/mac/.rvm/gems/ruby-2.6.0/gems/bootsnap-1.4.5/lib/bootsnap/load_path_cache/loaded_features_index.rb:92:in `register'
29: from /Users/mac/.rvm/gems/ruby-2.6.0/gems/bootsnap-1.4.5/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:22:in `block in require_with_bootsnap_lfi'
28: from /Users/mac/.rvm/gems/ruby-2.6.0/gems/bootsnap-1.4.5/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:22:in `require'
27: from /Users/mac/myapp/config/environment.rb:5:in `<main>'
26: from /Users/mac/.rvm/gems/ruby-2.6.0/gems/railties-6.0.1/lib/rails/application.rb:363:in `initialize!'
25: from /Users/mac/.rvm/gems/ruby-2.6.0/gems/railties-6.0.1/lib/rails/initializable.rb:60:in `run_initializers'
24: from /Users/mac/.rvm/rubies/ruby-2.6.0/lib/ruby/2.6.0/tsort.rb:205:in `tsort_each'
23: from /Users/mac/.rvm/rubies/ruby-2.6.0/lib/ruby/2.6.0/tsort.rb:226:in `tsort_each'
22: from /Users/mac/.rvm/rubies/ruby-2.6.0/lib/ruby/2.6.0/tsort.rb:347:in `each_strongly_connected_component'
21: from /Users/mac/.rvm/rubies/ruby-2.6.0/lib/ruby/2.6.0/tsort.rb:347:in `call'
20: from /Users/mac/.rvm/rubies/ruby-2.6.0/lib/ruby/2.6.0/tsort.rb:347:in `each'
19: from /Users/mac/.rvm/rubies/ruby-2.6.0/lib/ruby/2.6.0/tsort.rb:349:in `block in each_strongly_connected_component'
18: from /Users/mac/.rvm/rubies/ruby-2.6.0/lib/ruby/2.6.0/tsort.rb:431:in `each_strongly_connected_component_from'
17: from /Users/mac/.rvm/rubies/ruby-2.6.0/lib/ruby/2.6.0/tsort.rb:350:in `block (2 levels) in each_strongly_connected_component'
16: from /Users/mac/.rvm/rubies/ruby-2.6.0/lib/ruby/2.6.0/tsort.rb:228:in `block in tsort_each'
15: from /Users/mac/.rvm/gems/ruby-2.6.0/gems/railties-6.0.1/lib/rails/initializable.rb:61:in `block in run_initializers'
14: from /Users/mac/.rvm/gems/ruby-2.6.0/gems/railties-6.0.1/lib/rails/initializable.rb:32:in `run'
13: from /Users/mac/.rvm/gems/ruby-2.6.0/gems/railties-6.0.1/lib/rails/initializable.rb:32:in `instance_exec'
12: from /Users/mac/.rvm/gems/ruby-2.6.0/gems/webpacker-4.2.0/lib/webpacker/railtie.rb:84:in `block in <class:Engine>'
11: from /Users/mac/.rvm/gems/ruby-2.6.0/gems/webpacker-4.2.0/lib/webpacker.rb:27:in `bootstrap'
10: from /Users/mac/.rvm/gems/ruby-2.6.0/gems/webpacker-4.2.0/lib/webpacker/commands.rb:31:in `bootstrap'
9: from /Users/mac/.rvm/gems/ruby-2.6.0/gems/webpacker-4.2.0/lib/webpacker/manifest.rb:18:in `refresh'
8: from /Users/mac/.rvm/gems/ruby-2.6.0/gems/webpacker-4.2.0/lib/webpacker/manifest.rb:83:in `load'
7: from /Users/mac/.rvm/gems/ruby-2.6.0/gems/webpacker-4.2.0/lib/webpacker/configuration.rb:51:in `public_manifest_path'
6: from /Users/mac/.rvm/gems/ruby-2.6.0/gems/webpacker-4.2.0/lib/webpacker/configuration.rb:47:in `public_output_path'
5: from /Users/mac/.rvm/gems/ruby-2.6.0/gems/webpacker-4.2.0/lib/webpacker/configuration.rb:43:in `public_path'
4: from /Users/mac/.rvm/gems/ruby-2.6.0/gems/webpacker-4.2.0/lib/webpacker/configuration.rb:84:in `fetch'
3: from /Users/mac/.rvm/gems/ruby-2.6.0/gems/webpacker-4.2.0/lib/webpacker/configuration.rb:88:in `data'
2: from /Users/mac/.rvm/gems/ruby-2.6.0/gems/webpacker-4.2.0/lib/webpacker/configuration.rb:92:in `load'
1: from /Users/mac/.rvm/gems/ruby-2.6.0/gems/webpacker-4.2.0/lib/webpacker/configuration.rb:92:in `read'
/Users/mac/.rvm/gems/ruby-2.6.0/gems/webpacker-4.2.0/lib/webpacker/configuration.rb:92:in `read': No such file or directory # rb_sysopen - /Users/mac/myapp/config/webpacker.yml (Errno::ENOENT)
79: from bin/rails:3:in `<main>'
78: from bin/rails:3:in `load'
77: from /Users/mac/myapp/bin/spring:15:in `<top (required)>'
76: from /Users/mac/.rvm/rubies/ruby-2.6.0/lib/ruby/site_ruby/2.6.0/rubygems/core_ext/kernel_require.rb:54:in `require'
75: from /Users/mac/.rvm/rubies/ruby-2.6.0/lib/ruby/site_ruby/2.6.0/rubygems/core_ext/kernel_require.rb:54:in `require'
74: from /Users/mac/.rvm/gems/ruby-2.6.0/gems/spring-2.1.0/lib/spring/binstub.rb:11:in `<top (required)>'
73: from /Users/mac/.rvm/gems/ruby-2.6.0/gems/spring-2.1.0/lib/spring/binstub.rb:11:in `load'
72: from /Users/mac/.rvm/gems/ruby-2.6.0/gems/spring-2.1.0/bin/spring:49:in `<top (required)>'
71: from /Users/mac/.rvm/gems/ruby-2.6.0/gems/spring-2.1.0/lib/spring/client.rb:30:in `run'
70: from /Users/mac/.rvm/gems/ruby-2.6.0/gems/spring-2.1.0/lib/spring/client/command.rb:7:in `call'
69: from /Users/mac/.rvm/gems/ruby-2.6.0/gems/spring-2.1.0/lib/spring/client/rails.rb:28:in `call'
68: from /Users/mac/.rvm/gems/ruby-2.6.0/gems/spring-2.1.0/lib/spring/client/rails.rb:28:in `load'
67: from /Users/mac/myapp/bin/rails:9:in `<top (required)>'
66: from /Users/mac/.rvm/gems/ruby-2.6.0/gems/activesupport-6.0.1/lib/active_support/dependencies.rb:325:in `require'
65: from /Users/mac/.rvm/gems/ruby-2.6.0/gems/activesupport-6.0.1/lib/active_support/dependencies.rb:291:in `load_dependency'
64: from /Users/mac/.rvm/gems/ruby-2.6.0/gems/activesupport-6.0.1/lib/active_support/dependencies.rb:325:in `block in require'
63: from /Users/mac/.rvm/gems/ruby-2.6.0/gems/bootsnap-1.4.5/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:30:in `require'
62: from /Users/mac/.rvm/gems/ruby-2.6.0/gems/bootsnap-1.4.5/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:21:in `require_with_bootsnap_lfi'
61: from /Users/mac/.rvm/gems/ruby-2.6.0/gems/bootsnap-1.4.5/lib/bootsnap/load_path_cache/loaded_features_index.rb:92:in `register'
60: from /Users/mac/.rvm/gems/ruby-2.6.0/gems/bootsnap-1.4.5/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:22:in `block in require_with_bootsnap_lfi'
59: from /Users/mac/.rvm/gems/ruby-2.6.0/gems/bootsnap-1.4.5/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:22:in `require'
58: from /Users/mac/.rvm/gems/ruby-2.6.0/gems/railties-6.0.1/lib/rails/commands.rb:18:in `<main>'
57: from /Users/mac/.rvm/gems/ruby-2.6.0/gems/railties-6.0.1/lib/rails/command.rb:46:in `invoke'
56: from /Users/mac/.rvm/gems/ruby-2.6.0/gems/railties-6.0.1/lib/rails/command/base.rb:65:in `perform'
55: from /Users/mac/.rvm/gems/ruby-2.6.0/gems/thor-0.20.3/lib/thor.rb:387:in `dispatch'
54: from /Users/mac/.rvm/gems/ruby-2.6.0/gems/thor-0.20.3/lib/thor/invocation.rb:126:in `invoke_command'
53: from /Users/mac/.rvm/gems/ruby-2.6.0/gems/thor-0.20.3/lib/thor/command.rb:27:in `run'
52: from /Users/mac/.rvm/gems/ruby-2.6.0/gems/railties-6.0.1/lib/rails/commands/server/server_command.rb:138:in `perform'
51: from /Users/mac/.rvm/gems/ruby-2.6.0/gems/railties-6.0.1/lib/rails/commands/server/server_command.rb:138:in `tap'
50: from /Users/mac/.rvm/gems/ruby-2.6.0/gems/railties-6.0.1/lib/rails/commands/server/server_command.rb:147:in `block in perform'
49: from /Users/mac/.rvm/gems/ruby-2.6.0/gems/railties-6.0.1/lib/rails/commands/server/server_command.rb:37:in `start'
48: from /Users/mac/.rvm/gems/ruby-2.6.0/gems/railties-6.0.1/lib/rails/commands/server/server_command.rb:77:in `log_to_stdout'
47: from /Users/mac/.rvm/gems/ruby-2.6.0/gems/rack-2.0.7/lib/rack/server.rb:354:in `wrapped_app'
46: from /Users/mac/.rvm/gems/ruby-2.6.0/gems/rack-2.0.7/lib/rack/server.rb:219:in `app'
45: from /Users/mac/.rvm/gems/ruby-2.6.0/gems/rack-2.0.7/lib/rack/server.rb:319:in `build_app_and_options_from_config'
44: from /Users/mac/.rvm/gems/ruby-2.6.0/gems/rack-2.0.7/lib/rack/builder.rb:40:in `parse_file'
43: from /Users/mac/.rvm/gems/ruby-2.6.0/gems/rack-2.0.7/lib/rack/builder.rb:49:in `new_from_string'
42: from /Users/mac/.rvm/gems/ruby-2.6.0/gems/rack-2.0.7/lib/rack/builder.rb:49:in `eval'
41: from config.ru:in `<main>'
40: from config.ru:in `new'
39: from /Users/mac/.rvm/gems/ruby-2.6.0/gems/rack-2.0.7/lib/rack/builder.rb:55:in `initialize'
38: from /Users/mac/.rvm/gems/ruby-2.6.0/gems/rack-2.0.7/lib/rack/builder.rb:55:in `instance_eval'
37: from config.ru:3:in `block in <main>'
36: from /Users/mac/.rvm/gems/ruby-2.6.0/gems/bootsnap-1.4.5/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:48:in `require_relative'
35: from /Users/mac/.rvm/gems/ruby-2.6.0/gems/activesupport-6.0.1/lib/active_support/dependencies.rb:325:in `require'
34: from /Users/mac/.rvm/gems/ruby-2.6.0/gems/activesupport-6.0.1/lib/active_support/dependencies.rb:291:in `load_dependency'
33: from /Users/mac/.rvm/gems/ruby-2.6.0/gems/activesupport-6.0.1/lib/active_support/dependencies.rb:325:in `block in require'
32: from /Users/mac/.rvm/gems/ruby-2.6.0/gems/zeitwerk-2.2.1/lib/zeitwerk/kernel.rb:23:in `require'
31: from /Users/mac/.rvm/gems/ruby-2.6.0/gems/bootsnap-1.4.5/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:30:in `require'
30: from /Users/mac/.rvm/gems/ruby-2.6.0/gems/bootsnap-1.4.5/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:21:in `require_with_bootsnap_lfi'
29: from /Users/mac/.rvm/gems/ruby-2.6.0/gems/bootsnap-1.4.5/lib/bootsnap/load_path_cache/loaded_features_index.rb:92:in `register'
28: from /Users/mac/.rvm/gems/ruby-2.6.0/gems/bootsnap-1.4.5/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:22:in `block in require_with_bootsnap_lfi'
27: from /Users/mac/.rvm/gems/ruby-2.6.0/gems/bootsnap-1.4.5/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:22:in `require'
26: from /Users/mac/myapp/config/environment.rb:5:in `<main>'
25: from /Users/mac/.rvm/gems/ruby-2.6.0/gems/railties-6.0.1/lib/rails/application.rb:363:in `initialize!'
24: from /Users/mac/.rvm/gems/ruby-2.6.0/gems/railties-6.0.1/lib/rails/initializable.rb:60:in `run_initializers'
23: from /Users/mac/.rvm/rubies/ruby-2.6.0/lib/ruby/2.6.0/tsort.rb:205:in `tsort_each'
22: from /Users/mac/.rvm/rubies/ruby-2.6.0/lib/ruby/2.6.0/tsort.rb:226:in `tsort_each'
21: from /Users/mac/.rvm/rubies/ruby-2.6.0/lib/ruby/2.6.0/tsort.rb:347:in `each_strongly_connected_component'
20: from /Users/mac/.rvm/rubies/ruby-2.6.0/lib/ruby/2.6.0/tsort.rb:347:in `call'
19: from /Users/mac/.rvm/rubies/ruby-2.6.0/lib/ruby/2.6.0/tsort.rb:347:in `each'
18: from /Users/mac/.rvm/rubies/ruby-2.6.0/lib/ruby/2.6.0/tsort.rb:349:in `block in each_strongly_connected_component'
17: from /Users/mac/.rvm/rubies/ruby-2.6.0/lib/ruby/2.6.0/tsort.rb:431:in `each_strongly_connected_component_from'
16: from /Users/mac/.rvm/rubies/ruby-2.6.0/lib/ruby/2.6.0/tsort.rb:350:in `block (2 levels) in each_strongly_connected_component'
15: from /Users/mac/.rvm/rubies/ruby-2.6.0/lib/ruby/2.6.0/tsort.rb:228:in `block in tsort_each'
14: from /Users/mac/.rvm/gems/ruby-2.6.0/gems/railties-6.0.1/lib/rails/initializable.rb:61:in `block in run_initializers'
13: from /Users/mac/.rvm/gems/ruby-2.6.0/gems/railties-6.0.1/lib/rails/initializable.rb:32:in `run'
12: from /Users/mac/.rvm/gems/ruby-2.6.0/gems/railties-6.0.1/lib/rails/initializable.rb:32:in `instance_exec'
11: from /Users/mac/.rvm/gems/ruby-2.6.0/gems/webpacker-4.2.0/lib/webpacker/railtie.rb:84:in `block in <class:Engine>'
10: from /Users/mac/.rvm/gems/ruby-2.6.0/gems/webpacker-4.2.0/lib/webpacker.rb:27:in `bootstrap'
9: from /Users/mac/.rvm/gems/ruby-2.6.0/gems/webpacker-4.2.0/lib/webpacker/commands.rb:31:in `bootstrap'
8: from /Users/mac/.rvm/gems/ruby-2.6.0/gems/webpacker-4.2.0/lib/webpacker/manifest.rb:18:in `refresh'
7: from /Users/mac/.rvm/gems/ruby-2.6.0/gems/webpacker-4.2.0/lib/webpacker/manifest.rb:83:in `load'
6: from /Users/mac/.rvm/gems/ruby-2.6.0/gems/webpacker-4.2.0/lib/webpacker/configuration.rb:51:in `public_manifest_path'
5: from /Users/mac/.rvm/gems/ruby-2.6.0/gems/webpacker-4.2.0/lib/webpacker/configuration.rb:47:in `public_output_path'
4: from /Users/mac/.rvm/gems/ruby-2.6.0/gems/webpacker-4.2.0/lib/webpacker/configuration.rb:43:in `public_path'
3: from /Users/mac/.rvm/gems/ruby-2.6.0/gems/webpacker-4.2.0/lib/webpacker/configuration.rb:84:in `fetch'
2: from /Users/mac/.rvm/gems/ruby-2.6.0/gems/webpacker-4.2.0/lib/webpacker/configuration.rb:88:in `data'
1: from /Users/mac/.rvm/gems/ruby-2.6.0/gems/webpacker-4.2.0/lib/webpacker/configuration.rb:91:in `load'
/Users/mac/.rvm/gems/ruby-2.6.0/gems/webpacker-4.2.0/lib/webpacker/configuration.rb:95:in `rescue in load': Webpacker configuration file not found /Users/mac/myapp/config/webpacker.yml. Please run rails webpacker:install Error: No such file or directory # rb_sysopen - /Users/mac/myapp/config/webpacker.yml (RuntimeError)
The last line gives you the error:
Webpacker configuration file not found /Users/mac/myapp/config/webpacker.yml.
...and helpfully tells you what to do:
Please run rails webpacker:install

Argument Error with AWS Access Key and ID

I am trying to add Secret Keys to my app by using the Carrierwave gem however when I run it I keep getting the below error message
Missing required arguments: aws_access_key_id, aws_secret_access_key (ArgumentError)
Here is my config/initializers/carrierwave.rb:
CarrierWave.configure do |config|
config.fog_provider = 'fog/aws'
config.fog_credentials = {
provider: 'AWS',
aws_access_key_id: Rails.application.credentials.aws_key,
aws_secret_access_key: Rails.application.credentials.aws_secret,
}
config.fog_directory = Rails.application.credentials.aws_bucket
end
Here is my log:
=> Rails 5.2.3 application starting in development
=> Run `rails server -h` for more startup options
Exiting
Traceback (most recent call last):
93: from bin/rails:3:in `<main>'
92: from bin/rails:3:in `load'
91: from /Users/homefolder/Sites/tuts/source/bin/spring:15:in `<top (required)>'
90: from /Users/homefolder/Sites/tuts/source/bin/spring:15:in `require'
89: from /Users/homefolder/.rvm/gems/ruby-2.5.1/gems/spring-2.1.0/lib/spring/binstub.rb:11:in `<top (required)>'
88: from /Users/homefolder/.rvm/gems/ruby-2.5.1/gems/spring-2.1.0/lib/spring/binstub.rb:11:in `load'
87: from /Users/homefolder/.rvm/gems/ruby-2.5.1/gems/spring-2.1.0/bin/spring:49:in `<top (required)>'
86: from /Users/homefolder/.rvm/gems/ruby-2.5.1/gems/spring-2.1.0/lib/spring/client.rb:30:in `run'
85: from /Users/homefolder/.rvm/gems/ruby-2.5.1/gems/spring-2.1.0/lib/spring/client/command.rb:7:in `call'
84: from /Users/homefolder/.rvm/gems/ruby-2.5.1/gems/spring-2.1.0/lib/spring/client/rails.rb:28:in `call'
83: from /Users/homefolder/.rvm/gems/ruby-2.5.1/gems/spring-2.1.0/lib/spring/client/rails.rb:28:in `load'
82: from /Users/homefolder/Sites/tuts/source/bin/rails:9:in `<top (required)>'
81: from /Users/homefolder/.rvm/gems/ruby-2.5.1/gems/activesupport-5.2.3/lib/active_support/dependencies.rb:291:in `require'
80: from /Users/homefolder/.rvm/gems/ruby-2.5.1/gems/activesupport-5.2.3/lib/active_support/dependencies.rb:257:in `load_dependency'
79: from /Users/homefolder/.rvm/gems/ruby-2.5.1/gems/activesupport-5.2.3/lib/active_support/dependencies.rb:291:in `block in require'
78: from /Users/homefolder/.rvm/gems/ruby-2.5.1/gems/bootsnap-1.4.4/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:30:in `require'
77: from /Users/homefolder/.rvm/gems/ruby-2.5.1/gems/bootsnap-1.4.4/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:21:in `require_with_bootsnap_lfi'
76: from /Users/homefolder/.rvm/gems/ruby-2.5.1/gems/bootsnap-1.4.4/lib/bootsnap/load_path_cache/loaded_features_index.rb:92:in `register'
75: from /Users/homefolder/.rvm/gems/ruby-2.5.1/gems/bootsnap-1.4.4/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:22:in `block in require_with_bootsnap_lfi'
74: from /Users/homefolder/.rvm/gems/ruby-2.5.1/gems/bootsnap-1.4.4/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:22:in `require'
73: from /Users/homefolder/.rvm/gems/ruby-2.5.1/gems/railties-5.2.3/lib/rails/commands.rb:18:in `<top (required)>'
72: from /Users/homefolder/.rvm/gems/ruby-2.5.1/gems/railties-5.2.3/lib/rails/command.rb:46:in `invoke'
71: from /Users/homefolder/.rvm/gems/ruby-2.5.1/gems/railties-5.2.3/lib/rails/command/base.rb:65:in `perform'
70: from /Users/homefolder/.rvm/gems/ruby-2.5.1/gems/thor-0.20.3/lib/thor.rb:387:in `dispatch'
69: from /Users/homefolder/.rvm/gems/ruby-2.5.1/gems/thor-0.20.3/lib/thor/invocation.rb:126:in `invoke_command'
68: from /Users/homefolder/.rvm/gems/ruby-2.5.1/gems/thor-0.20.3/lib/thor/command.rb:27:in `run'
67: from /Users/homefolder/.rvm/gems/ruby-2.5.1/gems/railties-5.2.3/lib/rails/commands/server/server_command.rb:142:in `perform'
66: from /Users/homefolder/.rvm/gems/ruby-2.5.1/gems/railties-5.2.3/lib/rails/commands/server/server_command.rb:142:in `tap'
65: from /Users/homefolder/.rvm/gems/ruby-2.5.1/gems/railties-5.2.3/lib/rails/commands/server/server_command.rb:147:in `block in perform'
64: from /Users/homefolder/.rvm/gems/ruby-2.5.1/gems/railties-5.2.3/lib/rails/commands/server/server_command.rb:51:in `start'
63: from /Users/homefolder/.rvm/gems/ruby-2.5.1/gems/railties-5.2.3/lib/rails/commands/server/server_command.rb:89:in `log_to_stdout'
62: from /Users/homefolder/.rvm/gems/ruby-2.5.1/gems/rack-2.0.7/lib/rack/server.rb:354:in `wrapped_app'
61: from /Users/homefolder/.rvm/gems/ruby-2.5.1/gems/railties-5.2.3/lib/rails/commands/server/server_command.rb:27:in `app'
60: from /Users/homefolder/.rvm/gems/ruby-2.5.1/gems/rack-2.0.7/lib/rack/server.rb:219:in `app'
59: from /Users/homefolder/.rvm/gems/ruby-2.5.1/gems/rack-2.0.7/lib/rack/server.rb:319:in `build_app_and_options_from_config'
58: from /Users/homefolder/.rvm/gems/ruby-2.5.1/gems/rack-2.0.7/lib/rack/builder.rb:40:in `parse_file'
57: from /Users/homefolder/.rvm/gems/ruby-2.5.1/gems/rack-2.0.7/lib/rack/builder.rb:49:in `new_from_string'
56: from /Users/homefolder/.rvm/gems/ruby-2.5.1/gems/rack-2.0.7/lib/rack/builder.rb:49:in `eval'
55: from config.ru:in `<main>'
54: from config.ru:in `new'
53: from /Users/homefolder/.rvm/gems/ruby-2.5.1/gems/rack-2.0.7/lib/rack/builder.rb:55:in `initialize'
52: from /Users/homefolder/.rvm/gems/ruby-2.5.1/gems/rack-2.0.7/lib/rack/builder.rb:55:in `instance_eval'
51: from config.ru:3:in `block in <main>'
50: from /Users/homefolder/.rvm/gems/ruby-2.5.1/gems/bootsnap-1.4.4/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:48:in `require_relative'
49: from /Users/homefolder/.rvm/gems/ruby-2.5.1/gems/activesupport-5.2.3/lib/active_support/dependencies.rb:291:in `require'
48: from /Users/homefolder/.rvm/gems/ruby-2.5.1/gems/activesupport-5.2.3/lib/active_support/dependencies.rb:257:in `load_dependency'
47: from /Users/homefolder/.rvm/gems/ruby-2.5.1/gems/activesupport-5.2.3/lib/active_support/dependencies.rb:291:in `block in require'
46: from /Users/homefolder/.rvm/gems/ruby-2.5.1/gems/bootsnap-1.4.4/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:30:in `require'
45: from /Users/homefolder/.rvm/gems/ruby-2.5.1/gems/bootsnap-1.4.4/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:21:in `require_with_bootsnap_lfi'
44: from /Users/homefolder/.rvm/gems/ruby-2.5.1/gems/bootsnap-1.4.4/lib/bootsnap/load_path_cache/loaded_features_index.rb:92:in `register'
43: from /Users/homefolder/.rvm/gems/ruby-2.5.1/gems/bootsnap-1.4.4/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:22:in `block in require_with_bootsnap_lfi'
42: from /Users/homefolder/.rvm/gems/ruby-2.5.1/gems/bootsnap-1.4.4/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:22:in `require'
41: from /Users/homefolder/Sites/tuts/source/config/environment.rb:5:in `<top (required)>'
40: from /Users/homefolder/.rvm/gems/ruby-2.5.1/gems/railties-5.2.3/lib/rails/application.rb:361:in `initialize!'
39: from /Users/homefolder/.rvm/gems/ruby-2.5.1/gems/railties-5.2.3/lib/rails/initializable.rb:60:in `run_initializers'
38: from /Users/homefolder/.rvm/rubies/ruby-2.5.1/lib/ruby/2.5.0/tsort.rb:205:in `tsort_each'
37: from /Users/homefolder/.rvm/rubies/ruby-2.5.1/lib/ruby/2.5.0/tsort.rb:226:in `tsort_each'
36: from /Users/homefolder/.rvm/rubies/ruby-2.5.1/lib/ruby/2.5.0/tsort.rb:347:in `each_strongly_connected_component'
35: from /Users/homefolder/.rvm/rubies/ruby-2.5.1/lib/ruby/2.5.0/tsort.rb:347:in `call'
34: from /Users/homefolder/.rvm/rubies/ruby-2.5.1/lib/ruby/2.5.0/tsort.rb:347:in `each'
33: from /Users/homefolder/.rvm/rubies/ruby-2.5.1/lib/ruby/2.5.0/tsort.rb:349:in `block in each_strongly_connected_component'
32: from /Users/homefolder/.rvm/rubies/ruby-2.5.1/lib/ruby/2.5.0/tsort.rb:415:in `each_strongly_connected_component_from'
31: from /Users/homefolder/.rvm/rubies/ruby-2.5.1/lib/ruby/2.5.0/tsort.rb:415:in `call'
30: from /Users/homefolder/.rvm/gems/ruby-2.5.1/gems/railties-5.2.3/lib/rails/initializable.rb:50:in `tsort_each_child'
29: from /Users/homefolder/.rvm/gems/ruby-2.5.1/gems/railties-5.2.3/lib/rails/initializable.rb:50:in `each'
28: from /Users/homefolder/.rvm/rubies/ruby-2.5.1/lib/ruby/2.5.0/tsort.rb:421:in `block in each_strongly_connected_component_from'
27: from /Users/homefolder/.rvm/rubies/ruby-2.5.1/lib/ruby/2.5.0/tsort.rb:431:in `each_strongly_connected_component_from'
26: from /Users/homefolder/.rvm/rubies/ruby-2.5.1/lib/ruby/2.5.0/tsort.rb:422:in `block (2 levels) in each_strongly_connected_component_from'
25: from /Users/homefolder/.rvm/rubies/ruby-2.5.1/lib/ruby/2.5.0/tsort.rb:350:in `block (2 levels) in each_strongly_connected_component'
24: from /Users/homefolder/.rvm/rubies/ruby-2.5.1/lib/ruby/2.5.0/tsort.rb:228:in `block in tsort_each'
23: from /Users/homefolder/.rvm/gems/ruby-2.5.1/gems/railties-5.2.3/lib/rails/initializable.rb:61:in `block in run_initializers'
22: from /Users/homefolder/.rvm/gems/ruby-2.5.1/gems/railties-5.2.3/lib/rails/initializable.rb:32:in `run'
21: from /Users/homefolder/.rvm/gems/ruby-2.5.1/gems/railties-5.2.3/lib/rails/initializable.rb:32:in `instance_exec'
20: from /Users/homefolder/.rvm/gems/ruby-2.5.1/gems/railties-5.2.3/lib/rails/engine.rb:613:in `block in <class:Engine>'
19: from /Users/homefolder/.rvm/gems/ruby-2.5.1/gems/railties-5.2.3/lib/rails/engine.rb:613:in `each'
18: from /Users/homefolder/.rvm/gems/ruby-2.5.1/gems/railties-5.2.3/lib/rails/engine.rb:614:in `block (2 levels) in <class:Engine>'
17: from /Users/homefolder/.rvm/gems/ruby-2.5.1/gems/railties-5.2.3/lib/rails/engine.rb:656:in `load_config_initializer'
16: from /Users/homefolder/.rvm/gems/ruby-2.5.1/gems/activesupport-5.2.3/lib/active_support/notifications.rb:170:in `instrument'
15: from /Users/homefolder/.rvm/gems/ruby-2.5.1/gems/railties-5.2.3/lib/rails/engine.rb:657:in `block in load_config_initializer'
14: from /Users/homefolder/.rvm/gems/ruby-2.5.1/gems/activesupport-5.2.3/lib/active_support/dependencies.rb:285:in `load'
13: from /Users/homefolder/.rvm/gems/ruby-2.5.1/gems/activesupport-5.2.3/lib/active_support/dependencies.rb:257:in `load_dependency'
12: from /Users/homefolder/.rvm/gems/ruby-2.5.1/gems/activesupport-5.2.3/lib/active_support/dependencies.rb:285:in `block in load'
11: from /Users/homefolder/.rvm/gems/ruby-2.5.1/gems/bootsnap-1.4.4/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:54:in `load'
10: from /Users/homefolder/.rvm/gems/ruby-2.5.1/gems/bootsnap-1.4.4/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:54:in `load'
9: from /Users/homefolder/Sites/tuts/source/config/initializers/carrierwave.rb:1:in `<top (required)>'
8: from /Users/homefolder/.rvm/gems/ruby-2.5.1/gems/carrierwave-1.3.1/lib/carrierwave.rb:14:in `configure'
7: from /Users/homefolder/.rvm/gems/ruby-2.5.1/gems/carrierwave-1.3.1/lib/carrierwave/uploader/configuration.rb:161:in `configure'
6: from /Users/homefolder/Sites/tuts/source/config/initializers/carrierwave.rb:3:in `block in <top (required)>'
5: from /Users/homefolder/.rvm/gems/ruby-2.5.1/gems/carrierwave-1.3.1/lib/carrierwave/uploader/configuration.rb:139:in `fog_credentials='
4: from /Users/homefolder/.rvm/gems/ruby-2.5.1/gems/carrierwave-1.3.1/lib/carrierwave/uploader/configuration.rb:126:in `eager_load_fog'
3: from /Users/homefolder/.rvm/gems/ruby-2.5.1/gems/fog-core-2.1.2/lib/fog/core/services_mixin.rb:16:in `new'
2: from /Users/homefolder/.rvm/gems/ruby-2.5.1/gems/fog-core-2.1.2/lib/fog/core/service.rb:98:in `new'
1: from /Users/homefolder/.rvm/gems/ruby-2.5.1/gems/fog-core-2.1.2/lib/fog/core/service.rb:268:in `handle_settings'
/Users/homefolder/.rvm/gems/ruby-2.5.1/gems/fog-core-2.1.2/lib/fog/core/service.rb:244:in `validate_options': Missing required arguments: aws_access_key_id, aws_secret_access_key (ArgumentError)
Please can anyone help to get this to work? Thanks for your help
You need to set credentials before using them.
Make sure you must have saved your credentials like following,
aws_key = # your key here
aws_secret = # secret here
For more information check this.

Resources