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

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