I have used steal.js as one of my assets. Previously I use it directly from public folder(i.e without pre-compile). Now I need to move its file to vendor assets so that it can be precompiled.
For this I used gem execjs
to precompile .ejs
files and gem less-rails
to precompile .less
files.
After that I successfully precompile all the assets but unfortunately steal.js raise errors Uncaught TypeError: Cannot read property 'path' of undefined
and system break up.
Can anyone help me fixing these issues ?
You can mention specific file to get precompiled in application.rb as follow:
Try adding this statement,It might help you