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

Ruby installation help needed

Could Jason Seifer , Jim Hoskins or anyone else for that matter help me out? So basically I've just started "Generate a Rails Application". So I've successfully installed Ruby on my Macbook running Mountain Lion, so how do I create a directory as is shown in the aforementioned video? Probably really stupid question but any help much appreciated. Thanks.

2 Answers

You can just create it anywhere. I have a Sites folder in my user folder, then I made a projects folder in the sites folder, and then generated my rails app there.

Just make sure that when you are in the terminal, you need to be in the folder that your rails app is located. So for example, mine is in "Sites/Projects/socialmath"

So before I start, when you open the terminal, you are in your user folder. So then I type:

cd Sites/Projects/socialmath

cd means change directory, and that path is the path to my rails app. Note that you can type the first few letters, then hit the tab key and it should fill in the rest for you (to save some time on typing)

Thanks a lot! Much appreciated!!

You might want to check out the first badge in Console Foundations course if you aren't already comfortable with moving around in the console.