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

CMD Trouble

Hi, i'm beginner dong Ruby on rails I downloaded ruby on rails and checked it to make sure i downloaded it but when i went on the cmd and typed "rvm us 1.9.3" it says "rvm is not recognized as an internal or external command, operable program or batch file."

2 Answers

You don't need to use rvm on Windows, that's just something Mac users have to do.

Alex Hedley
Alex Hedley
16,381 Points

Do you have the - Start Command Prompt With Ruby?

ruby -v

If you have just opened the cmd

irb

it should then show something like:

ruby-1.8.7-p334 :001 >

If you want these to work in any cmd you may need to set this in the installation of Ruby: For "ruby" command be available in any command prompt, the Ruby installation you did needs to be available in the PATH.