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

Ruby Build a Simple Ruby on Rails Application Getting Started with Rails Generate a Rails Application

John Oleksowicz
John Oleksowicz
922 Points

Error viewing /statuses

I've attempted the steps in this video twice now, and each time when I navigate to localhost:3000/statuses I get the error ExecJS::RuntimeError in Statuses#index. The highlighted line is <%= javascript_include_tag "application", "data-turbolinks-track" => true %>. I pasted the full source of the error page here: http://pastebin.com/xNSNthug

Any idea what's causing this? I would really like to move forward with these lessons but I don't think I can until I fix this.

1 Answer

John Oleksowicz
John Oleksowicz
922 Points

Thanks for the link, Artem. The fix for me was installing node.js and then adding its install directory to my PATH environmental variable. Apparently this isn't the first time this came up and I should've done a better job of searching before posting my question: https://teamtreehouse.com/forum/ruby-status-issue