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

MySQL and rails

I have been learning Ruby on Rails via the track.

When I got to the database section, I finally installed MySQL per the instructions.

After the install and a reboot of my computer, rails and gems is no long a valid command in cmder.

I am now getting this error when I start commander.

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

And these errors when I try rails or gem.

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

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

I am getting very upset about this at this point. I have re-installed ruby on rails. I even uninstalled everything and re-installed after doing registry and a windows cleanup.

Now all my projects and lessons are on hold again for the second time because of this. The only way I can get rails to run is if I uninstall MySQL, clean my registry, the re-install ruby on rails.

WTF!!!!!!

4 Answers

That is not my issue. I am following the track for Rails Development. I install everything per their videos. As soon as I install MySQL it breaks ruby on rails. I can't user the rails commands at all on cmder. The system is telling me that Rails or gem is not a command or program anymore.

I just want to get through the Track without having to go to some cloud based system or have to install thing that they haven't talked about.............

So right now I am going through the database course and as soon as I am finished I am going to Uninstall MySQL. Clean my system for the THIRD time, then go back to rails.

It sucks because I am going to need MySQL for my project later as sqlite3 isn't strong enough or robust enough for it.

Hi Scott,

I have similar experiences with this issue but it was not fun at all. :(

That's why many people suggest not to use WINDOWS, real-life developers use Apple Macbook or Ubuntu. Right now you still have option to use either Cloud9 or Nitrous Pro without installing anything on your computer. Yes it is also free.

All I have is a Windows Machine and I don't want to go out to a cloud developers site. I just need a fix for this and the treehouse staff should be aware of this problem and know how to fix it.