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 trialGabriel Leoni
5,762 PointsError when connecting to rails server
Attempting on my mac to connect to the rails server by typing: bin/rails server.
It returns only this: -bash: bin/rails: No such file or directory
which is very dissimilar to the video. When I head to localhost 3000 it says I forgot to start my server.
Anything helps...
1 Answer
Maciej Czuchnowski
36,441 PointsTry just running rails server
, without the bin thing. And make sure you are in the project's folder.
Gabriel Leoni
5,762 PointsGabriel Leoni
5,762 PointsWe're getting there. It now looks like my terminal is booting/connecting to the server:
=> Booting WEBrick => Rails 4.0.2 application starting in development on http://0.0.0.0:3000 => Run
rails server -h
for more startup options => Ctrl-C to shutdown server [2014-11-02 19:24:45] INFO WEBrick 1.3.1 [2014-11-02 19:24:45] INFO ruby 2.0.0 (2013-11-22) [x86_64-darwin13.3.0] [2014-11-02 19:24:45] INFO WEBrick::HTTPServer#start: pid=2630 port=3000but when I head to http://localhost:3000 I get the same "You forgot to start your server, didn’t you?" page.
Not sure what to do at this point