You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
the console command is not working and the console is not appearing when an error is raised or when I manually add the console command e.g. in my controller actions.
Have you seen a problem like this before? Or do you already know that configuring the gem from config/initializers is not possible maybe?
EDIT:
After doing some console outputs it seems to me that it's just an ordering of things.
First, it's the config/environments/development.rb that runs
Second it's whatever is inside the web-console gem lib/web_console/railtie.rb that runs
Third it's what's in the config/initializers/web_console.rb (This is the file where I'm trying to configure web-console in my project) that is running
However, the configuration I'm setting in the config/initializers/web_console.rb is not picked up by the gem.
The text was updated successfully, but these errors were encountered:
Hello,
I have a problem setting up the gem if I want to configure it from the
initializers
folder.So, when I configure the gem inside the
development.rb
file everything is alrightexample working config:
but when I do a similar thing in my
config/initializers/web_console.rb
like so:the
console
command is not working and the console is not appearing when an error is raised or when I manually add theconsole
command e.g. in my controller actions.Have you seen a problem like this before? Or do you already know that configuring the gem from
config/initializers
is not possible maybe?EDIT:
After doing some console outputs it seems to me that it's just an ordering of things.
config/environments/development.rb
that runsweb-console
gemlib/web_console/railtie.rb
that runsconfig/initializers/web_console.rb
(This is the file where I'm trying to configureweb-console
in my project) that is runningHowever, the configuration I'm setting in the
config/initializers/web_console.rb
is not picked up by the gem.The text was updated successfully, but these errors were encountered: