Error when running rails app – ExecJS::RuntimeError

you have to install an additional gem for javascript.
edit gemfile and add gem ‘therubyracer’. You can then run bundle to install the new gem.

here is your solution in detail:
http://www.railszilla.com/2011/12/rails-3-coffescript-execjs/

Leave a Comment