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

HELP! I've closed my Treebook App after the first stage and now I dont know how to reopen it!

HELP!

6 Answers

Do you mean you closed it in your text editor, web browser, or in the terminal and shut down the server?

You need to be more specify as Jason said so we can help you understand the problem.

If you're terminal has been shutdown, just retype rails server to open up the server again (localhost:3000 on you're web browser)

I shut down the whole thing, including the terminal and server. When I try and restart the server and get back to it, my browser tells me it cant connect to the specified address.

Sorry if I'm not so clear, I'm new to this!

Thanks

Be sure to be in the same directory as the files are included in when you open up the server. You can do that by copying the address of the directory and then run cd [directory address] then run the command rails server

If you are new to programming. I suggest you to take a look at the programming tutorials and the language ruby itself. RoR is more complicated and it req a bit of programming knowledge.

Struggling to get in to the right directory its saying it cannot be found!

OK Marcus will look at those first!

Thanks!

You could try typing "cd" in the terminal, then dragging the folder over the terminal, and hitting enter. Hopefully that will help with the "cannot be found" problem.

locate your treebook folder in your computer , then open up a terminal, type "pwd" to see where you are . then cd to your treebook folder and run the server

also a neat trick: if you dont want to bother figuring out the path and you are on a mac, you can open the terminal, then with your mouse drag and drop the treebook folder into the terminal. this will insert the folder path for you