Confused at what to do. Default rails install by the RailsInstaller.
started a new demo app. Using rails 3.2.14.
created a controller
rails generate controller Say hello goodbye
However whenever I navigate to the localhost it returns an execjs error.
So for
http://localhost:3000/say/hello
I received
ExecJS::RuntimeError in Say#hello
Showing c:/work/demo/app/views/layouts/application.html.erb where line #6 raised:
(in c:/work/demo/app/assets/javascripts/say.js.coffee)
Extracted source (around line #6):
3: <head>
4: <title>Demo</title>
5: <%= stylesheet_link_tag "application", :media => "all" %>
6: <%= javascript_include_tag "application" %>
7: <%= csrf_meta_tags %>
8: </head>
9: <body>
Rails.root: c:/work/demo
I have tried searching for solutions but the only one I thought seemed applicable hasn't helped.
I added to my gemfile the below and did bundle update. No Success.
gem 'execjs'
gem 'therubyracer', :platforms => :ruby
What should I do?
EDIT
gemfile.lock http://pastebin.com/hGPJpxLp