Welcome to the Treehouse Community

The Treehouse Community is a meeting place for developers, designers, and programmers of all backgrounds and skill levels to get support. Collaborate here on code errors or bugs that you need feedback on, or asking for an extra set of eyes on your latest project. Join thousands of Treehouse students and alumni in the community today. (Note: Only Treehouse students can comment or ask questions, but non-students are welcome to browse our conversations.)

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and a supportive community. Start your free trial today.

Ruby Ruby Foundations Ruby Basics Installing Ruby

nick beck
nick beck
3,625 Points

can't install ruby installer

so i just started ruby foundations. i download ruby 1.9.3-p551. i run the command in cmd - ruby -v. and get this error.

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

1 Answer

Nejc Vukovic
Nejc Vukovic
Full Stack JavaScript Techdegree Student 36,386 Points


The cmd: ruby -v -> returns the version of the installed package -> if it returns nothing it means it wasn't installed.

If you installed this package and get an error with this command it only means that your enviroment variable is not set.

For this check what Uncle Google has to say about it 'cos there are about 5 ways to set them.

If you need more info just ask.

NOTICE: check the Readme of the package to get info how to install this on your system.

nick beck
nick beck
3,625 Points

thanks for answering. i actually worked it out in the end. it wasn't a problem with the tool, but the tool using it, haha.