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

Deleted User

Having trouble getting past the first step

When in prompt when I enter rvm use 1.9.3 the following pops up

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

14 Answers

James Barnett
James Barnett
39,199 Points

Try using the directions for the rails installer

James Barnett
James Barnett
39,199 Points

@Antonio - RVM is a mac thing. You don't use it on Windows.

You use the command rails server to start rails on Windows.

If you need some more details try out these instructions for Windows instead.

Hi Antonio!

If you're still having trouble please email me at help@teamtreehouse.com with a link to the content you're working on + a screenshot if you can :)

Also, be sure to label your post! I've gone ahead and done that for you, but in the future be sure to label the post appropriately so members can help you and the team can find your question ^^

James Barnett
James Barnett
39,199 Points

@Riley You can tell he's on a Windows machine because the error mentions a batch file

Deleted User

Thanks very much appreciated!

Deleted User

but i feel it may be something else when I type in rails i get the same kind of error. I have ruby on rails installed, not sure what is causing it... just going to uninstall everything and try again

Deleted User

I reinstalled it and now followed the rails installer and it works great. Thanks!

James Barnett
James Barnett
39,199 Points

@Antonio - That's great news.

James Barnett
James Barnett
39,199 Points

@Jason Seifer - Perhaps the teachers note, should provide a link to the rails installer instructions for installing Rails on Windows.

Deleted User

Hi, Same problem... I've installed and uninstalled 3 times (ruby installer 1.9.3-p362) and there's no change - I still get the "rails is not recognized as an internal or external commend" thing.

Inside the ruby prog' there is a "start command prompt with ruby" - am I suppose to work from there? (also - tried looking at the directions from James - but there was no stage where Windows Command Line was asking for a name and email address...

what should I do next?

Deleted User

James - bless you. I think a teachers note would help very much to note the differences between Windows and Mac.

James Barnett
James Barnett
39,199 Points

@Meg - I've noticed there a few cases with the rails course where a teacher's note about the differences with between Windows & Mac would help a lot.

The other thing you might run into is stopping the rails server process. For some reason under Windows Ctrl+C doesn't seem to work so use Ctrl+Break instead.

Deleted User

@James - thank you! again :)

Have you installed RVM? If not try:

https://rvm.io/rvm/install/