Welcome to the Treehouse Community
Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community!
Looking to learn something new?
Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.
Start your free trial

jose rodriguez
16,524 PointsRoR will not execute the "Statuses" page correctly
Hello, I have made it to the "generate rails application" video on the "Building a simple ruby on rails app" section. I have followed the video to a T and and got what is shown below as a run time error. This error occurs when i put this in the browser bar (127.0.0.1:3000/statuses/). can someone tell me what is wrong? and how to fix it?
ExecJS::RuntimeError in Statuses#index
Showing C:/Sites/treehouse/app/views/layouts/application.html.erb where line #6 raised:
(in C:/Sites/treehouse/app/assets/javascripts/statuses.js.coffee) Extracted source (around line #6):
3: <head> 4: <title>Treehouse</title> 5: <%= stylesheet_link_tag "application", :media => "all" %> 6: <%= javascript_include_tag "application" %> 7: <%= csrf_meta_tags %> 8: </head> 9: <body> Rails.root: C:/Sites/treehouse
Application Trace | Framework Trace | Full Trace
app/views/layouts/application.html.erb:6:in _app_views_layouts_application_html_erb___440485466_29795268'
app/controllers/statuses_controller.rb:7:in
index'
Request
Parameters:
None Show session dump
Show env dump
Response
Headers:
None
3 Answers

Richard Roche
2,099 PointsAre you also on Windows 8? This is the best solution I found when searching the forum for the same issue.

jose rodriguez
16,524 PointsRichard Roche, Thank you for this answer. this worked great!

Selorm Edor
Courses Plus Student 5,269 PointsThis worked for me too. Thanks!!