Application.js: RM marks gem asset red needlessly

RM 129.512 .js editor is complaining
'Cannot resolve symbol tinymc-jquery'
(This is within a 'semantic comment' ie the pipeline logic uses comments for require statements.)
I have installed the tinymce-jquery gem and it
compiles and runs fine. (Ruby187, Rails 3.1.10, both production and development modes)
The question is: am I missing something or is this a  bug? If it is a bug, is there a workaround?

application.js looks like this
...
//= require jquery
//= require tinymce-jquery
//= require jquery_ujs
//= require_tree .

The 'error condition' propagates up the directory tree, so the project view
has the entire app underlined in red. Which is 'just cosmetic' but
does get my attention.

1 comment

Hi Gordon,

It's a bug and unfortunately there is no any workaround for that. Bugfix already implemented and will appear in 130.xx builds.

0

Please sign in to leave a comment.