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 trialNicole Rudi
73 PointsI am working in windows and I get the message "the syntax of the command is incorrect."
I use the command prompt in Ruby on Railsand after it goes thru the Ruby info the prompt C:\Site> comes up and I type mkdir [~/Projects] rails new treebook (I've tries it without the mkdir) and just get "the syntax of the command is incorrect."
3 Answers
William Li
Courses Plus Student 26,868 PointsThe lecture videos were recorded using a Mac, so if you wanna follow along using a Windows Machine. There're some OS inconsistencies you need to keep in mind.
For example: Windows' command prompt
is NOT a UNIX terminal, some commands you may see the instructor typing on screen may not work on command prompt; on Mac, forwardslash character / is used as directory separator, whereas on Windows it's backslash _\_, to name but a few.
Like Maciej Czuchnowski pointed out, it can be quite a bit of hassle here.
One of the best alternatives is to use a cloud-based IDE such as Cloud9 or Nitrous.io. They enables you to code within a web browser, that effectively eliminates the OS differences, plus a really nice UNIX virtual environment and real-time chat.
Maciej Czuchnowski
36,441 PointsNever. Use. Windows.
At least for Rails development. Doing so feels like being tortured by Pinhead from "Hellraiser".
KIm Frost
254 PointsYou can use - vagrant + virtualBoX, I am using it, all of working correctly
Nicole Rudi
73 PointsNicole Rudi
73 PointsThank you so much. I was searching I had a feeling that was at least part of my problem. I appreciate the help!