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
Hilart Abrahamian
1,031 PointsStatuses error
Hello I am trying to learn ruby and rails and I am following the videos on this site and am stuck on this one: http://teamtreehouse.com/library/programming/build-a-simple-ruby-on-rails-application/getting-started-with-rails/generate-a-rails-application
I do everything correctly and everything goes exactly how it does when Jason Seifer does it. Until he tells me to go to 127.0.0.1:3000/statuses/ when I do that it gives me an error: http://i.imgur.com/IdTV9Kw.png
What did I do wrong?
Hilart Abrahamian
1,031 PointsWindows
Robert Borsey
Courses Plus Student 9,636 Pointsmake sure you have your rails server working I had a problem not the same message though. if that's not the problem then try 127.0.0.0:3000. also did you try it in chrome.
Hilart Abrahamian
1,031 PointsI tried on 127.0.0.0:3000, 0.0.0.0:3000 doesn't work on windows. My rails server seems to be working the only problem is that Control - C doesn't shut down my server and it gives me an error when I navigate to 127.0.0.0:3000/statuses
Robert Borsey
Courses Plus Student 9,636 Pointswhen you start your server it starts correctly right ?
When you key ctrl -c you are not in the directory right. its just a curser right ?
Maybe your having a key board problem. Can you copy from control c then paste with control v. If you can I would contacted team tree house support and tell them in detail what the problem is. And also tell them that you posted to the forum because they will tell you to do that make sure to tell them all at once.
127.0.0.0:3000 was working for me then I got an error saying cant find and said had to do a rake routes. I had no routes so couldn't do that and tried 127.0.0.1:3000 and it worked so it can be the rails server as well everything installed correctly ?
And you are using windows command prompt not the rails command prompt ?
Hilart Abrahamian
1,031 PointsI am very sorry I said 127.0.0.0:3000 what I meant was 127.0.0.1:3000 and I am using the Command Prompt with ruby and rails does that matter?
Robert Borsey
Courses Plus Student 9,636 PointsYes use the widows command prompt not ruby the local host will come in a bit
1 Answer
Eddie Flores
9,110 PointsI suggest that you start over from scratch. When you first install ruby and rails... I suggest that the first command you do after "rails new treebook" should be:
rails server -b localhost
That should put it to http://localhost:3000 or http://127.0.0.1:3000
By starting fresh, it allows you to see what you've done.
Robert Borsey
Courses Plus Student 9,636 PointsRobert Borsey
Courses Plus Student 9,636 Pointsare you using windows or a mac