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

NameError: uninitialized constant Signalman::EventsHelper #3

Open
cgratigny opened this issue Aug 1, 2023 · 4 comments
Open

NameError: uninitialized constant Signalman::EventsHelper #3

cgratigny opened this issue Aug 1, 2023 · 4 comments

Comments

@cgratigny
Copy link

I installed the gem, ruby 2.7.4 and rails 7.0.3.1 and got this error when trying to start my rails server or running the migrations.

NameError: uninitialized constant Signalman::EventsHelper

One thing that might be unique in my setup is I am using the Apartment gem for multi-tenancy.

@excid3
Copy link
Owner

excid3 commented Aug 2, 2023

You got a stacktrace you can share?

@cgratigny
Copy link
Author

Absolutely

	46: from bin/rails:4:in `<main>'
	45: from /Users/cgratigny/.rvm/gems/ruby-2.7.4/gems/bootsnap-1.13.0/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:32:in `require'
	44: from /Users/cgratigny/.rvm/gems/ruby-2.7.4/gems/bootsnap-1.13.0/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:32:in `require'
	43: from /Users/cgratigny/.rvm/gems/ruby-2.7.4/gems/railties-7.0.3.1/lib/rails/commands.rb:18:in `<main>'
	42: from /Users/cgratigny/.rvm/gems/ruby-2.7.4/gems/railties-7.0.3.1/lib/rails/command.rb:48:in `invoke'
	41: from /Users/cgratigny/.rvm/gems/ruby-2.7.4/gems/railties-7.0.3.1/lib/rails/command/base.rb:87:in `perform'
	40: from /Users/cgratigny/.rvm/gems/ruby-2.7.4/gems/thor-1.2.1/lib/thor.rb:392:in `dispatch'
	39: from /Users/cgratigny/.rvm/gems/ruby-2.7.4/gems/thor-1.2.1/lib/thor/invocation.rb:127:in `invoke_command'
	38: from /Users/cgratigny/.rvm/gems/ruby-2.7.4/gems/thor-1.2.1/lib/thor/command.rb:27:in `run'
	37: from /Users/cgratigny/.rvm/gems/ruby-2.7.4/gems/railties-7.0.3.1/lib/rails/commands/server/server_command.rb:134:in `perform'
	36: from /Users/cgratigny/.rvm/gems/ruby-2.7.4/gems/railties-7.0.3.1/lib/rails/commands/server/server_command.rb:134:in `tap'
	35: from /Users/cgratigny/.rvm/gems/ruby-2.7.4/gems/railties-7.0.3.1/lib/rails/commands/server/server_command.rb:143:in `block in perform'
	34: from /Users/cgratigny/.rvm/gems/ruby-2.7.4/gems/railties-7.0.3.1/lib/rails/commands/server/server_command.rb:36:in `start'
	33: from /Users/cgratigny/.rvm/gems/ruby-2.7.4/gems/railties-7.0.3.1/lib/rails/commands/server/server_command.rb:76:in `log_to_stdout'
	32: from /Users/cgratigny/.rvm/gems/ruby-2.7.4/gems/rack-2.2.4/lib/rack/server.rb:422:in `wrapped_app'
	31: from /Users/cgratigny/.rvm/gems/ruby-2.7.4/gems/rack-2.2.4/lib/rack/server.rb:249:in `app'
	30: from /Users/cgratigny/.rvm/gems/ruby-2.7.4/gems/rack-2.2.4/lib/rack/server.rb:349:in `build_app_and_options_from_config'
	29: from /Users/cgratigny/.rvm/gems/ruby-2.7.4/gems/rack-2.2.4/lib/rack/builder.rb:66:in `parse_file'
	28: from /Users/cgratigny/.rvm/gems/ruby-2.7.4/gems/rack-2.2.4/lib/rack/builder.rb:105:in `load_file'
	27: from /Users/cgratigny/.rvm/gems/ruby-2.7.4/gems/rack-2.2.4/lib/rack/builder.rb:116:in `new_from_string'
	26: from /Users/cgratigny/.rvm/gems/ruby-2.7.4/gems/rack-2.2.4/lib/rack/builder.rb:116:in `eval'
	25: from config.ru:3:in `block in <main>'
	24: from config.ru:3:in `require_relative'
	23: from /Users/cgratigny/Sites/align/config/environment.rb:5:in `<main>'
	22: from /Users/cgratigny/.rvm/gems/ruby-2.7.4/gems/railties-7.0.3.1/lib/rails/application.rb:372:in `initialize!'
	21: from /Users/cgratigny/.rvm/gems/ruby-2.7.4/gems/railties-7.0.3.1/lib/rails/initializable.rb:60:in `run_initializers'
	20: from /Users/cgratigny/.rvm/rubies/ruby-2.7.4/lib/ruby/2.7.0/tsort.rb:205:in `tsort_each'
	19: from /Users/cgratigny/.rvm/rubies/ruby-2.7.4/lib/ruby/2.7.0/tsort.rb:226:in `tsort_each'
	18: from /Users/cgratigny/.rvm/rubies/ruby-2.7.4/lib/ruby/2.7.0/tsort.rb:347:in `each_strongly_connected_component'
	17: from /Users/cgratigny/.rvm/rubies/ruby-2.7.4/lib/ruby/2.7.0/tsort.rb:347:in `call'
	16: from /Users/cgratigny/.rvm/rubies/ruby-2.7.4/lib/ruby/2.7.0/tsort.rb:347:in `each'
	15: from /Users/cgratigny/.rvm/rubies/ruby-2.7.4/lib/ruby/2.7.0/tsort.rb:349:in `block in each_strongly_connected_component'
	14: from /Users/cgratigny/.rvm/rubies/ruby-2.7.4/lib/ruby/2.7.0/tsort.rb:431:in `each_strongly_connected_component_from'
	13: from /Users/cgratigny/.rvm/rubies/ruby-2.7.4/lib/ruby/2.7.0/tsort.rb:350:in `block (2 levels) in each_strongly_connected_component'
	12: from /Users/cgratigny/.rvm/rubies/ruby-2.7.4/lib/ruby/2.7.0/tsort.rb:228:in `block in tsort_each'
	11: from /Users/cgratigny/.rvm/gems/ruby-2.7.4/gems/railties-7.0.3.1/lib/rails/initializable.rb:61:in `block in run_initializers'
	10: from /Users/cgratigny/.rvm/gems/ruby-2.7.4/gems/railties-7.0.3.1/lib/rails/initializable.rb:32:in `run'
	 9: from /Users/cgratigny/.rvm/gems/ruby-2.7.4/gems/railties-7.0.3.1/lib/rails/initializable.rb:32:in `instance_exec'
	 8: from /Users/cgratigny/.rvm/gems/ruby-2.7.4/gems/signalman-0.1.0/lib/signalman/engine.rb:11:in `block in <class:Engine>'
	 7: from /Users/cgratigny/.rvm/gems/ruby-2.7.4/gems/activesupport-7.0.3.1/lib/active_support/lazy_load_hooks.rb:46:in `on_load'
	 6: from /Users/cgratigny/.rvm/gems/ruby-2.7.4/gems/activesupport-7.0.3.1/lib/active_support/lazy_load_hooks.rb:46:in `each'
	 5: from /Users/cgratigny/.rvm/gems/ruby-2.7.4/gems/activesupport-7.0.3.1/lib/active_support/lazy_load_hooks.rb:47:in `block in on_load'
	 4: from /Users/cgratigny/.rvm/gems/ruby-2.7.4/gems/activesupport-7.0.3.1/lib/active_support/lazy_load_hooks.rb:77:in `execute_hook'
	 3: from /Users/cgratigny/.rvm/gems/ruby-2.7.4/gems/activesupport-7.0.3.1/lib/active_support/lazy_load_hooks.rb:72:in `with_execution_control'
	 2: from /Users/cgratigny/.rvm/gems/ruby-2.7.4/gems/activesupport-7.0.3.1/lib/active_support/lazy_load_hooks.rb:82:in `block in execute_hook'
	 1: from /Users/cgratigny/.rvm/gems/ruby-2.7.4/gems/activesupport-7.0.3.1/lib/active_support/lazy_load_hooks.rb:82:in `class_eval'
/Users/cgratigny/.rvm/gems/ruby-2.7.4/gems/signalman-0.1.0/lib/signalman/engine.rb:12:in `block (2 levels) in <class:Engine>': uninitialized constant Signalman::EventsHelper (NameError)

@excid3
Copy link
Owner

excid3 commented Aug 3, 2023

Would you be able to upload a simple repository that recreates this or provide me steps to recreate it?

@ashwin47
Copy link

I also faced this. But, not able to reproduce with a new rails repo.

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

No branches or pull requests

3 participants