ExecJS::ProgramError: Unexpected token punc «(», expected punc «:» when running rake assets:precompile on production

Here I found help for the same problem you had. Run rails console and: JS_PATH = “app/assets/javascripts/**/*.js”; Dir[JS_PATH].each do |file_name| puts “\n#{file_name}” puts Uglifier.compile(File.read(file_name), harmony: true) end It will show you the file and the line where the Uglifier is making the problem.

execJs: ‘Could not find a JavaScript runtime’ but execjs AND therubyracer are in Gemfile

Ubuntu Users: I had the same problem and I fixed it by installing nodejson my system independent of the gem. on ubuntu its: sudo apt-get install nodejs I’m using 64bit ubuntu 11.10 update: From @Galina ‘s answer below I’m guessing that the latest version of nodejs is required, so @steve98177 your best option on a … Read more

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)