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 trialAdam Kempin
9,586 PointsNew Ruby on Rails on Windows install, going great until cmder error when trying to run "rails new example.app", error
C:\Users\raptor\Documents λ rails
 '' is not recognized as an internal or external command, operable program or batch file.
set PATH=c:\windows\system32;c:\windows
set PATH=c:\windows\system32;c:\windows;c:\Ruby\bin
start "Rails on Windows" /D c:\rails The current directory is invalid.
2 Answers
JoJo KoKo
4,712 PointsI personally spin up a brand new fresh install of vagrant with puppet to provision to mimic development on a clean linux box. This allows you to ensure a clean working box w/o any trouble. I never develop Ruby on Windows since I've always had some type of trouble.
Nathan Elliott
16,232 PointsHello,
You put the command in as "rails new example_app" not "rails new example.app" right?
I agree with JoJo and Maciej. A virtual box running linux is easier to work with than Windows in my opinion.
Maciej Czuchnowski
36,441 PointsMaciej Czuchnowski
36,441 PointsTreehouse should not produce videos that show people how to use Rails on Windows. This encourages people to try and is almost like saying "yeah, sure, you can use Windows for Rails development, no problem". But Windows always causes lots of problems with Rails development, you really should try installing Ubuntu on dual boot or through VMWare Player.