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

delanobartolomei
seal-mask
.a{fill-rule:evenodd;}techdegree
delanobartolomei
Full Stack JavaScript Techdegree Student 14,052 Points

Error : "'rails' is not recognized as an internal or external command" when trying to install Rails !!!

Hello everyone,

I am a newbie and I'd appreciate your help on my problem trying to install Rails. First, i'd like to say i'm working on Win 8 Pro. I have carefully followed step by step the Rails environnment installation on Windows but when I typed 'gem install rails' only half have been succesfully installed and all the rest are parsing. I tried to type 'gem uninstall rails' to reinstall it afterwards but it says 'suceesfully uninstalled' and when I try to reinstall rails it installs 1 gem and rails still does not work.... What should I do ? Uninstall everything to reinstall again ? How can I do that ? Thanks for your help

andi mitre
andi mitre
Treehouse Guest Teacher

What do you get if you type *rails -v * in cmd?

2 Answers

delanobartolomei
seal-mask
.a{fill-rule:evenodd;}techdegree
delanobartolomei
Full Stack JavaScript Techdegree Student 14,052 Points

Hello Andi

I get the same message 'rails is not recognized....' I think it's when I tried to install rails, only half of the docs completed 100%, other half is bugged... What should I do ?

andi mitre
STAFF
andi mitre
Treehouse Guest Teacher

Try to reinstall, the gems will get overwritten when you install them again.

This link might be useful. Cheers

delanobartolomei
seal-mask
.a{fill-rule:evenodd;}techdegree
delanobartolomei
Full Stack JavaScript Techdegree Student 14,052 Points

I tried this but what happens is that it says it installed 2 gems and still does not work... How can I remove completely Ruby from my PC in order to try a clean reinstall ? Please help me