Problem following Getting Started Guide - ExecJS::ProgramError in Welcome#index

45 views
Skip to first unread message

Abhijith V Mohan

unread,
Sep 24, 2015, 1:12:05 PM9/24/15
to Ruby on Rails: Documentation
Hi, completely new to rails here. I am following the rails getting started guide on a windows machine. In 4.2 Hello Rails section, an error is thrown ExecJS::ProgramError in Welcome#index. I've got it working by changing "application" to "default" in lines 5 & 6 in app/views/layouts/application.html.erb as suggested in a SO answer but I feel this is a dirty work around. What is the reason for the issue and what is the proper way to fix it? 

Ryan Bigg

unread,
Sep 25, 2015, 8:25:21 AM9/25/15
to rubyonra...@googlegroups.com
What was the full error that you got? The exception class by itself won't do.

 

On 24 Sep 2015, at 01:52, Abhijith V Mohan <abhijit...@gmail.com> wrote:

Hi, completely new to rails here. I am following the rails getting started guide on a windows machine. In 4.2 Hello Rails section, an error is thrown ExecJS::ProgramError in Welcome#index. I've got it working by changing "application" to "default" in lines 5 & 6 in app/views/layouts/application.html.erb as suggested in a SO answer but I feel this is a dirty work around. What is the reason for the issue and what is the proper way to fix it? 

--
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Documentation" group.
To unsubscribe from this group and stop receiving emails from it, send an email to rubyonrails-do...@googlegroups.com.
To post to this group, send email to rubyonra...@googlegroups.com.
Visit this group at http://groups.google.com/group/rubyonrails-docs.
For more options, visit https://groups.google.com/d/optout.
Reply all
Reply to author
Forward
0 new messages