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

Ruby error with Windows

Hi guys, I'm running Ruby on both Ubuntu and Windows 8. I rebooted in Windows 8, and I'm trying to set-up the Treebook Ruby Project, but it's giving me difficulty. When I migrate the db, and run the "rails server" I get this error when I go to localhost:3000/statuses

ExecJS::RuntimeError in Statuses#index Showing C:/Sites/treebook/app/views/layouts/application.html.erb where line #6 raised:

It's a page with alot of random debug information in it. Any ideas on how to fix it? Thanks! Eddie

2 Answers

I had the same problem, I searched online and found this page: https://groups.google.com/forum/?fromgroups=#!topic/railsinstaller/P2pBYN-NnTE This helped me figure out why I was getting the same error that you are getting.

@Eddie -

The ExecJS error is related to conflict between JavaScript and Asset Pipeline. Try installing Node from http://nodejs.org/ and see if that fixes it.