tinymce-rails
tinymce-rails copied to clipboard
Rails does not request assets in tinymce folder in production
Hi I'm using tinymce-rails 4.1.6
and I have this issue where in production Rails is requesting the plugin files at the URL - http://abc.cloudfront.net/assets/plugins/autolink/plugin.js
We're using [asset_sync](https://github.com/rumblelabs/asset_sync)
to sync the assets to CloudFront once precompile is done. And Im able to access these scripts at http://abc.cloudfront.net/assets/tinymce/plugins/autolink/plugin.js
(see /tinymce
in path).
I've required tinymce
this way - //= require tinymce/tinymce
.
Thanks in advance :)
Hi @steverob , did you find a solution for this? I am currently having the same issue.
Seeing the same issue here. Any advice? @steverob @muriloime
EDIT: [email protected] with [email protected]
I encountered a similar situation in production, using asset_sync and cloudfront.
I found that setting the configuration to :copy instead of the default :compile worked for me:
config.tinymce.install = :copy
I did have to clear out public/assets after switching from :compile to :copy