Open eva-thientran opened 6 years ago
Mhhm I will have to test as the ruby packages are often broken. Did you use this container before ? I use it in production everyday. ++
I believe I'm getting the same thing on latest
. I get the same thing if I build the container from master
:
resque-web_1 | F, [2018-09-26T17:57:57.931814 #1] FATAL -- : [ce92ec71-98eb-46a7-a236-e380002bccc5]
resque-web_1 | F, [2018-09-26T17:57:57.931903 #1] FATAL -- : [ce92ec71-98eb-46a7-a236-e380002bccc5] ActionView::Template::Error (undefined method `root_path' for #<ActionDispatch::Routin
g::RoutesProxy:0x0000558ef7b4fbf0>):
resque-web_1 | F, [2018-09-26T17:57:57.932048 #1] FATAL -- : [ce92ec71-98eb-46a7-a236-e380002bccc5] 46: <%= tab tab_name,path %>
resque-web_1 | [ce92ec71-98eb-46a7-a236-e380002bccc5] 47: <% end %>
resque-web_1 | [ce92ec71-98eb-46a7-a236-e380002bccc5] 48: <% if respond_to?(:main_app) %>
resque-web_1 | [ce92ec71-98eb-46a7-a236-e380002bccc5] 49: <li><%= link_to "Return to Application", main_app.root_path, :class => "nav navbar-nav" %></li>
resque-web_1 | [ce92ec71-98eb-46a7-a236-e380002bccc5] 50: <% end %>
resque-web_1 | [ce92ec71-98eb-46a7-a236-e380002bccc5] 51: </ul>
resque-web_1 | [ce92ec71-98eb-46a7-a236-e380002bccc5] 52: </div>
resque-web_1 | F, [2018-09-26T17:57:57.932078 #1] FATAL -- : [ce92ec71-98eb-46a7-a236-e380002bccc5]
resque-web_1 | F, [2018-09-26T17:57:57.932135 #1] FATAL -- : [ce92ec71-98eb-46a7-a236-e380002bccc5] actionpack (5.2.1) lib/action_dispatch/routing/routes_proxy.rb:50:in `method_missing'
resque-web_1 | [ce92ec71-98eb-46a7-a236-e380002bccc5] resque-web (0.0.12) app/views/layouts/resque_web/application.html.erb:49:in `__usr_local_bundle_gems_resque_web________app_views_lay
outs_resque_web_application_html_erb___3269171970464491407_47036273140800'
This does not occur in 2.4.0
I see the issue here. resque-web added a link in 0.12.0
:
This assumes that there is a root_path
defined. The fix was made a while ago:
But has not been released yet.
So as I see, there are 2 options:
On second thought, downgrading resque-web is not ideal since then I wouldn't be able to use a redis password
Hello
I have try pull your image and config database redis, but when I running command below
After that I go to the url http://localhost:8080/resque_web then capture log docker
Any suggestion to fix this?
Thanks