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

Moving/ Deleting Treebook directory

Hi all!

I'm new to rails.

I'm on the "generate a rails application" video. I set up treebook in a directory that is too close to the root directory and want to delete it to start over in a new directory, but am not sure if I should just move the folder "by hand" as I feel it may be messy later. I think it would be best to start again from scratch.

Am really getting my head round the concepts and haven't patched together all the ideas!

Is there a clean way of just starting again and doing it through the terminal?

Thank you!

Inti

1 Answer

You can just delete the old treebook installation folder and create (or clone) a new one somewhere else. All the files and settings for any individual rails and git project are self-contained in the /[rails-app-name]/ folder, so deleting it gets rid of the project completely.

Thanks Steve! I feel a lot better about moving it now. I didn't realise it was all self-contained at all! I thought as in some other environments there might be breakable links to and from the app and ruby on rails application server. Am still figuring it out in my head!