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 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

Hi.

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.