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



i've installed and uninstalled and extracted the damn dev files for an hour now....

cmd prompt says:

'ruby' is not recognized as an internal or external command, operable program or batch file.


2 Answers

It might help if you'd share what OS you're on (Windows, I'm guessing by the look of the output), and what version of Ruby you're trying to install.

Although, it seems like Ruby isn't being added to your PATH. Find the directory where Ruby was installed and add it to your PATH.

If that doesn't help, please reply with more info: specific OS/Ruby versions, what tutorial you've been following, etc.

windows 7 32 bit

i downloaded rubyinstall 2.0.0-p451 and the devkit to go with it....

path C:\Ruby200\bin;C:\Users\Alvin\AppData\Roaming\npm

system variables C:\Ruby200\bin;C:\Ruby200\bin\;C:\Program Files\NVIDIA Corporation\PhysX\Common;%SystemRoot%\system32;%SystemRoot%;%SystemRoot%\System32\Wbem;%SYSTEMROOT%\System32\WindowsPowerShell\v1.0\;C:\Program Files\QuickTime\QTSystem\;C:\Program Files\nodejs\;C:\Program Files\Git\cmd;C:\Program Files\Git\bin

been watching that video in the ruby's track