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

ActionView::Template::Error (undefined method `paths' for nil:NilClass): #250

Open
glappen opened this issue Nov 14, 2018 · 1 comment
Open

Comments

@glappen
Copy link

glappen commented Nov 14, 2018

Hello, I am using tinymce-rails on a Rails 5.1 project that I deploy to production using docker. There are not problems in development, but when I deploy to production, i get this error:

ActionView::Template::Error (undefined method `paths' for nil:NilClass):

I have tried setting config.tinymce.install = :compile (as well as :copy) in application.rb and neither solves the issue. Since I'm using the tinymce-rails gem within an engine, I also tried setting config.tinymce.intall in my engine's engine.rb file, but still no luck. Any ideas on how to resolve this would be greatly appreciated.

Thanks!

@derstoiker
Copy link

Hello
we have the same problem with rails 5.1 and tinymce 4.1.10. May this is a problem because of changed behaviour of sprockets in rails?! rails/sprockets-rails#237 rails.application assets is normally nil in production now

@tinymce-team@ do you have some idea what to do?

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