Ruby on Rails Monday, April 9, 2018

How did you install ckeditor? Did you use a gem, or just the JS directly? It sounds as though the JS minifier is choking on the syntax in the library code, so that leads me to think you are using a gem, and putting the JS code in the Asset Pipeline. You may want to look into including this script through a CDN or similar, as a test. If that works, then look at the support page for the gem you used, and see if this is a solved problem.

Walter

> On Apr 9, 2018, at 11:11 AM, fugee ohu <fugee279@gmail.com> wrote:
>
> After installing ckeditor I'm having this uglifier issue Uglifier::Error: Unexpected token: punc (})
>
> --
> You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
> To unsubscribe from this group and stop receiving emails from it, send an email to rubyonrails-talk+unsubscribe@googlegroups.com.
> To post to this group, send email to rubyonrails-talk@googlegroups.com.
> To view this discussion on the web visit https://groups.google.com/d/msgid/rubyonrails-talk/e9e824a7-b610-491f-a1ee-1b0eb0c926da%40googlegroups.com.
> For more options, visit https://groups.google.com/d/optout.

--
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To unsubscribe from this group and stop receiving emails from it, send an email to rubyonrails-talk+unsubscribe@googlegroups.com.
To post to this group, send email to rubyonrails-talk@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/rubyonrails-talk/8305D8CC-B65C-4643-A9B9-8D1FBA9FDC19%40wdstudio.com.
For more options, visit https://groups.google.com/d/optout.

No comments:

Post a Comment