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

Chloe Brittain
PLUS
Chloe Brittain
Courses Plus Student 2,082 Points

sh.exe"; rvm: command not found

Hi,

I'm new to Rails and as far as I know we will be using Bash for the command prompt. I'm on Windows so I'm assuming I can use Git Bash instead of cmd. Anyways, I get this error when I try to run:

rvm use 1.9.3

What is going on? Am I totally messed up in thinking I can use Git Bash (my thinking was that it's more common and everyone talks about how you should use Linux or UNIX or w/e instead of Windows).

Thanks,

Chloe

3 Answers

James Barnett
James Barnett
39,199 Points

> Am I totally messed up in thinking I can use Git Bash

Yep


You need to use the Windows version of the Rails Installers

Chloe Brittain
PLUS
Chloe Brittain
Courses Plus Student 2,082 Points

I did install the Windows version, but I was just wondering whether I'm constrained to the Windows command prompt or if I can download and use a Bash shell when working on Rails projects on a Windows machine. I'm hoping I can, because most of the resources I've come across seem to recommend and favor Unix.

James Barnett
James Barnett
39,199 Points

As is noted in the teacher's note below the video, rvm isn't used on Windows, so you can skip that command.