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!
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
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"
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.