Welcome to the Treehouse Community
The Treehouse Community is a meeting place for developers, designers, and programmers of all backgrounds and skill levels to get support. Collaborate here on code errors or bugs that you need feedback on, or asking for an extra set of eyes on your latest project. Join thousands of Treehouse students and alumni in the community today. (Note: Only Treehouse students can comment or ask questions, but non-students are welcome to browse our conversations.)
Looking to learn something new?
Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and a supportive community. Start your free trial today.
Nicholas Lee12,474 Points
Moved from home to college. What do I have to change for my ruby app?
I was working my home over the summer and had the entire environment setup on my laptop. I started working on my first application, the grocery list. At home I had it running on my local server. I could type in localhost:3000 and reach my app.
The problem now is I have moved back to college is nothing is working. I take it because I am on their servers it is preventing stuff from working... especially since only one thing can be on the localhost:3000 server.
My question is, what do I have to do to get my application and ruby environment back running? Do I have to completely reset up my entire ruby environment?
Im my terminal I could type bin/rails server and its responds with "-bash: bin/rails: No such file or directory"
Kevin LozandierCourses Plus Student 53,747 Points
Localhost is not dependent on a remote server. Unless you have things like AWS and Proc files pointing to remote servers, it shouldn't be an issue.
- Did you run your server? In other words, did you run
bundle exec rails sor install binstubs for your app to run through
- If you're on a Mac: Did you update OSX? if you're on a Mac and upgraded to a completely new version like Yosemite—you have to reenable Apache to get your localhost running again.