small medium large xlarge

Generic-user-small
12 Jul 2016, 05:51
john eastman (1 post)

I’m getting this Error message after creating the demo app in chapter 2. When I try to view it in the browser. Any help ???

ExecJS::ProgramError in Say#hello

Showing C:/Sites/work/demo/app/views/layouts/application.html.erb where line #5 raised:

TypeError: Object doesn’t support this property or method

Rails.root: C:/Sites/work/demo Application Trace | Framework Trace | Full Trace

app/views/layouts/application.html.erb:5:in `app_views_layouts_application_html_erb__6383373_58316892’

Request

Parameters:

None

Toggle session dump Toggle env dump Response

Headers:

None

Samr_small_pragsmall
12 Jul 2016, 06:04
Sam Ruby (634 posts)

This looks like a match: http://stackoverflow.com/questions/12520456/execjsruntimeerror-on-windows-trying-to-follow-rubytutorial

There are three solutions listed there. I would recommend against solution 1: it will let you get further, but later in the book you will need JavaScript. Installing node.js seems to be the easiest solution.

You must be logged in to comment