Forum: Ruby Getting JSExec error while following basic guide, cannot set application homepage

Df7ff44ed7516372e5551269a04ee7c1?d=identicon&s=25 Emir Hasagic (emir_h)
on 2017-01-14 17:58
I've followed the guide on

I've made the installation, made a new site, controller called welcome,
fired up the server and added the following line to routes.rb file

  root 'welcome#index'

After trying to visit localhost:3000, it gives me the following error:

ExecJS::ProgramError in Welcome#index
Showing c:/Sites/blog/app/views/layouts/application.html.erb where line
#7 raised:

TypeError: Object doesn't support this property or method

It highlights line #7 as error, which is this line:
    <%= stylesheet_link_tag    'application', media: 'all',
'data-turbolinks-track': 'reload' %>

I do not want to switch the stylesheet and javascript link tag to
'default' because I've read that it will cause issues later and there is
another underlying issue here.

This is driving me nuts from yesterday and I don't know what to do
please help!
8c7102b3895cd33546edbc62063e976c?d=identicon&s=25 Hong91 Hong91 (hong91)
on 2017-02-09 04:01
Good post! Thanks for sharing. Really very useful and informative post.  =>> hotmail sign in =>> word cookies game =>>  five nights at freddys 4  =>> hill climb racing 2
Please log in before posting. Registration is free and takes only a minute.
Existing account

NEW: Do you have a Google/GoogleMail, Yahoo or Facebook account? No registration required!
Log in with Google account | Log in with Yahoo account | Log in with Facebook account
No account? Register here.