I'm having a problem deploying on Heroku do crash rake
rake assets:precompile
At the bottom there is an error that I get if I integrate
The error comes from uglifier.
I suspect that the problem may be related to the inclusion of many localizations for the calendar.
I worked on the error by setting:
# Compress JavaScripts and CSS config.assets.compress = false
I was unable to verify the files as temporary files were deleted. I also could not get the debugger in RubyMine to stop at a breakpoint.
Any ideas if this is a mistake? Any way to make temporary files not deleted? Any way to get the RubyMine debugger to work on the rake task (yes, tried the obvious using EAP 112-291.
rake assets: precompile: all RAILS_ENV = production RAILS_GROUPS = rake assets are interrupted! Unexpected character '' (line: 21454, col: 0, pos: 641 761)
Error in the new JS_Parse_Error (/tmp/execjs20111231-15374-1fve7h4.js:497:22) in js_error (/tmp/execjs20111231-15374-1fve7h4.js:505:15) in parse_error (/ tmp / execjs20111231-1544. js: 596: 17) in Object.next_token [as input] (/tmp/execjs20111231-15374-1fve7h4.js:839:17) in the following (/tmp/execjs20111231-15374-1fve7h4.js:943:37) in Object.semicolon [as 1] (/tmp/execjs20111231-15374-1fve7h4.js:986:38) on prog1 (/tmp/execjs20111231-15374-1fve7h4.js:1527:28) at simple_statement (/ tmp / execjs20111231-15374 -1fve7h4.js: 1123: 35) at / tmp / execjs 20111231-15374-1fve7h4.js: 1031: 35 at / tmp / execjs 20111231-15374-1fve7h4.js: 1510: 32
source share