Not sure if this is the best way going forward -- but to get you going now add the following line to your Gemfile and bundle install
gem 'therubyracer'
Not sure if this is the best way going forward -- but to get you going now add the following line to your Gemfile and bundle install
gem 'therubyracer'
i believe you need a javascript engine to run your code…
try installing rubyracer as Jack said… I had a similar problem once and it worked