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
Tim Luchtefeld
1,183 PointsStarting the Rails Server on Localhost
I am trying to access the local host page for ruby on rails, but it doesn't seem to work for me. I can't seem to get to http://0.0.0.0:3000 or http://localhost:3000. I start my rails server then type in the addresses and nothing comes up or says webpage can't be displayed. I would greatly appreciate any feedback. Thank you!
Tim Luchtefeld
1,183 Pointswhen i go in to cmd i type in new rails treebook then it says Overwrite C:/Sites/treebook/config/initializers/secret_token.rb? (enter "h" for
help) [Ynaqdh] and i write n because i dont want to overwrite it and I am trying to pick up where I left off (thats the only way I know how to open my treebook directory and i don't know if that is correct) and then I type rails server and it pops up with a lot of code and it appears to be working but Nothing works on my localhost.
I don't know if this is because I did not open sublime text 2 from the cmd or because of some other error.
Thank you for any feedback. I appreciate it!
Jason Seifer
Treehouse Guest TeacherIt's only necessary to run the "rails new treebook" command once. After that type in "cd treebook" and then "rails server". Then paste the output here.
Tim Luchtefeld
1,183 PointsThank you very much Jason Seifer! You have no idea how long I had been struggling with that. I am new to all of this so I appreciate the feedback!
1 Answer
John Paul Ashenfelter
1,118 PointsGreat job Tim and Jason! Solved in the replies.
Lee Hughes
8,380 PointsLee Hughes
8,380 PointsWhat does it say when you start your rails server?