spohlenz / tinymce-rails

Integration of TinyMCE with the Rails asset pipeline
Other
815 stars 256 forks source link

Editor wont load in production env #197

Closed Znow closed 7 years ago

Znow commented 8 years ago

Hi

In a production site, I'm getting the following error:

image

Im loading the tinymce as below:

<%= tinymce_assets %>
<%= tinymce :language => "da" %>

I've aso tried to require 'tinymce' and 'tinymce-jquery' in the application.js file, without luck.

Kind regards

Brotakuu commented 8 years ago

Maybe your assets were not precompiled? Try running rake assets:precompile, then push to production.

Znow commented 8 years ago

They are compiled on deployment by capistrano :-)