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

web-console gem error in ruby 2.7 and rails 6.1 #313

Open
NehaPeer opened this issue Jan 28, 2022 · 2 comments
Open

web-console gem error in ruby 2.7 and rails 6.1 #313

NehaPeer opened this issue Jan 28, 2022 · 2 comments

Comments

@NehaPeer
Copy link

Using

Ruby - 2.7.3
Rails - 6.1.3.2
We are using web-console gem (version - 4.1.0) but while running server it throws below error -
/export123/user_name/app/shared/bundle/ruby/2.7.0/gems/railties-6.1.3.2/lib/rails/railtie/configuration.rb:97:in `method_missing':

undefined method `web_console' for #Rails::Application::Configuration:0x0000558d452a2970 (NoMethodError)

Added code into config/environments/development.rb
config.web_console.whitelisted_ips = ['11.1.0.0/12', '192.16.0.0/01']

@gsamokovarov
Copy link
Collaborator

Is web-console in your Gemfile?

@NehaPeer
Copy link
Author

Yes

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

2 participants