Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Airbrake] [Development] undefined local variable or method `config' for main:Object #119

Open
doofdoofsf opened this issue Sep 13, 2022 · 0 comments
Labels

Comments

@doofdoofsf
Copy link
Owner

Airbrake error: #2640
Airbrake project: First project

Error type: NameError
Error message: undefined local variable or method `config' for main:Object
Where: <no information>
Occurred at: Sep 13, 2022 16:44:12 UTC
First seen at: Sep 13, 2022 16:44:12 UTC
Occurrences: 0 (0 since last deploy on <no information>)
Severity: error

URL: <no information>
File: /PROJECT_ROOT/config/environment.rb

Backtrace:

/PROJECT_ROOT/config/environment.rb:7:in <main>
config.ru:3:in require_relative
config.ru:3:in block in <main>
/GEM_ROOT/gems/rack-2.2.4/lib/rack/builder.rb:116:in eval
/GEM_ROOT/gems/rack-2.2.4/lib/rack/builder.rb:116:in new_from_string
/GEM_ROOT/gems/rack-2.2.4/lib/rack/builder.rb:105:in load_file
/GEM_ROOT/gems/rack-2.2.4/lib/rack/builder.rb:66:in parse_file
/GEM_ROOT/gems/rack-2.2.4/lib/rack/server.rb:349:in build_app_and_options_from_config
/GEM_ROOT/gems/rack-2.2.4/lib/rack/server.rb:249:in app
/GEM_ROOT/gems/rack-2.2.4/lib/rack/server.rb:422:in wrapped_app
/GEM_ROOT/gems/railties-6.0.6/lib/rails/commands/server/server_command.rb:77:in log_to_stdout
/GEM_ROOT/gems/railties-6.0.6/lib/rails/commands/server/server_command.rb:37:in start
/GEM_ROOT/gems/railties-6.0.6/lib/rails/commands/server/server_command.rb:147:in block in perform
/GEM_ROOT/gems/railties-6.0.6/lib/rails/commands/server/server_command.rb:138:in tap
/GEM_ROOT/gems/railties-6.0.6/lib/rails/commands/server/server_command.rb:138:in perform
/GEM_ROOT/gems/thor-1.2.1/lib/thor/command.rb:27:in run
/GEM_ROOT/gems/thor-1.2.1/lib/thor/invocation.rb:127:in invoke_command
/GEM_ROOT/gems/thor-1.2.1/lib/thor.rb:392:in dispatch
/GEM_ROOT/gems/railties-6.0.6/lib/rails/command/base.rb:69:in perform
/GEM_ROOT/gems/railties-6.0.6/lib/rails/command.rb:46:in invoke
/GEM_ROOT/gems/railties-6.0.6/lib/rails/commands.rb:18:in <main>
/GEM_ROOT/gems/bootsnap-1.13.0/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:32:in require
/GEM_ROOT/gems/bootsnap-1.13.0/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:32:in require
/PROJECT_ROOT/bin/rails:9:in <top (required)>
/GEM_ROOT/gems/spring-2.1.1/lib/spring/client/rails.rb:28:in load
/GEM_ROOT/gems/spring-2.1.1/lib/spring/client/rails.rb:28:in call
/GEM_ROOT/gems/spring-2.1.1/lib/spring/client/command.rb:7:in call
/GEM_ROOT/gems/spring-2.1.1/lib/spring/client.rb:30:in run
/GEM_ROOT/gems/spring-2.1.1/bin/spring:49:in <top (required)>
/GEM_ROOT/gems/spring-2.1.1/lib/spring/binstub.rb:11:in load
/GEM_ROOT/gems/spring-2.1.1/lib/spring/binstub.rb:11:in <top (required)>
/Users/john/.rbenv/versions/2.7.6/lib/ruby/2.7.0/rubygems/core_ext/kernel_require.rb:83:in require
/Users/john/.rbenv/versions/2.7.6/lib/ruby/2.7.0/rubygems/core_ext/kernel_require.rb:83:in require
/PROJECT_ROOT/bin/spring:15:in <top (required)>
bin/rails:3:in load
bin/rails:3:in <main>

Visit Airbrake error to view the full backtrace.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant