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! While you're at it, check out some resources Treehouse students have shared here.

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
jose rodriguez
16,524 Points

RoR 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 ( 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:inindex' Request


None Show session dump

Show env dump




3 Answers

Are you also on Windows 8? This is the best solution I found when searching the forum for the same issue.


jose rodriguez
jose rodriguez
16,524 Points

Richard Roche, Thank you for this answer. this worked great!