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

Getting an error while trying to create a directory for odot project

So I'm on the 'write our first test' video for odot. I'm at 1:25 mins in the video. There jason makes a directory using:

mkdir -p spec/features/todo_lists

When I do this on my windows computer (using the ruby enviroment that I set up using bitnami ruby stack ) I get the folloing error:

'The syntax of the command is incorrect.'

What would the correct syntax be?

2 Answers

-p doesn't work in Windows, you have to either write this thing without the -p flag or create the whole structure step by step manually. In the long run, consider using Linux or Mac for serious development (virtual machine or buy some old laptop just for Rails).

fair enough. Thanks for the reply