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

Rails does not request assets in tinymce folder in production #174

Open
steverob opened this issue Jun 16, 2015 · 3 comments
Open

Rails does not request assets in tinymce folder in production #174

steverob opened this issue Jun 16, 2015 · 3 comments

Comments

@steverob
Copy link

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 :)

@muriloime
Copy link

Hi @steverob , did you find a solution for this? I am currently having the same issue.

@Eusebius1920
Copy link

Eusebius1920 commented Nov 7, 2016

Seeing the same issue here. Any advice? @steverob @muriloime

EDIT: [email protected] with [email protected]

@aepyornis
Copy link

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

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

4 participants