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
Carlos Navarro
2,515 PointsClosed Terminal when Working on Ruby on Rails
So I was going through the tutorial and accidentally got stuck when apparently I entered some wrong code trying to upload to github on the Adding Interactivity section of Frontend Development. It basically only allowed me to enter text without the command line "MacBook-Pro:~ XXXXXXXXX$" in my case. Tried closing terminal and opening a new one but now I cannot seem to continue one since I receive errors such as "Could not locate Gemfile" on the following session. So my question is, if we accidentally get stuck outside of entering code or exiting out of terminal completely. How can we start it back up to where we left off previously without having to start a new session as when we first began?
3 Answers
Jack Carr
7,329 PointsDid you go back to your application folder in the terminal?
cd treebook/
Carlos Navarro
2,515 Pointsthats exactly what I was looking to do but didn't know how to get there, thanks.
James Barnett
39,199 Points@Carlos - You might want to check out the Getting Started with the Console badge, it's got a whole video on moving around the filesystem.