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!
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

Kirsten Larsen
7,133 PointsCreating New Project in Ruby
Hi there, I am getting stuck on the adding a new project folder stated in "Build a Simple Ruby on Rails Application." I've got Ruby and Rails running great. I even initially did the project. But how did you create a folder called [~/Projects] and where does that lie?
When I did it, it went straight into my "home" folder as a file called "treebook" which I don't want all these files stored there.
How do I access another location? How did you make the directory?
When I type mkdir [~/Projects] I get mkdir: [~: No such file or directory
4 Answers

Ryan Swapp
9,743 PointsHello!
The easiest way to do this is to just go into finder on mac or your windows libraries and then pick where you want to add the new folder/directory. Once there, click the add new folder button and name it Projects. Type cd into your terminal and then drag the projects folder from finder into your terminal and press return. At this point you should be in the projects folder and can now use the rails new command to make a new app in the projects directory.

James Barnett
39,199 PointsKirsten Larsen - [~/Projects]
isn't the name of the directory, Projects
is. I'd guess you might be new to using the terminal in which cases I'd recommend you do the first badge in the Console Foundations as you will probably have a better time with Rails if you start with some basics terminal skills.

Sean Washington
12,330 PointsEdit: Ryan replied as I was typing. If his answer works, run with it!
Hey Kirsten,
At a quick glance, it looks to me like [~/Projects] is actually a path, and not what you should be creating. "~/" typically refers to the home directory on your computer, the same location as Documents, Downloads, Desktop, etc.
Are you wanting to create a folder called projects to keep things in? In that case, you can type something like (without the dollar signs)
$ cd ~/
$ mkdir Projects
And that will create a projects folder inside of your home folder. Let me know if I'm way off and I'll take another look!

Kirsten Larsen
7,133 PointsAwesome thanks I got it!! all of this was VERY helpful