Bummer! You must be logged in to access this page.

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

Javascript Runtime

(I'm no expert, so please excuse me if I use the wrong terminology in this discussion.)

Okay, so I'm in the "Installing a Ruby Development Environment" project, and I've finally got my rails server running. The only problem I see is that in the "Installing Ruby on Windows" video, Jason Seifer specifies to make sure my Javascript Runtime is set to Node.js. Unfortunately, mine is still set to JScript. I've installed Node.js properly and I don't know how to change my Javascript Runtime. So, if someone could tell me how to get my server's Javascript Runtime set to Node.js, that would be wonderful. Also, if I don't change it at all, is that going to effect everything so much as to my outcome won't match the teacher's outcome? Thank you.

3 Answers

See if the information found here helps you define the PATH to your Node.js: http://ngeor.net/2013/04/installing-ruby-on-rails-on-windows-8/

Should still apply if you are running Windows 7.

Im still lost please help

I realize this is probably not useful for the OP anymore, but for anyone else who stumbles onto this issue in the future:

Go into control panel > system > advanced system settings > environment variables.

Find the "PATH" under user variables, click edit and add C:\Program Files\nodejs\; to the beginning of the line.

Try it again and it should work.