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

Ruby

Help needed with Ruby on Rails

I'm really stuck on Generating a Rails Application: http://teamtreehouse.com/library/programming/build-a-simple-ruby-on-rails-application/getting-started-with-rails/generate-a-rails-application I followed the instructions all the way through, and I got to the part where it tells me that my rails application is developing here @ http://0.0.0.0:3000 I coppiced the link and posted it in my web browser just as the guy says and does, but while his page shows up, mine shows up with an error, I've really been stuck on this for a while now, I'm doing it on my windows computer btw, but there should be no mistakes since command prompt is typically the same thing(as he mentioned: "if your on your windows computer, go ahead and open up command prompt") PLEASE HELP...before my one month subscription is over...

2 Answers

hlias kantzos
hlias kantzos
19,191 Points

try this http://localhost:3000
don't forget to start the server

  1. open the "Command Prompt with Ruby and Rails". (Go start-->RailsInstaller-->Command Prompt with Ruby and Rails)
  2. in the command prompt type cd treebook and press enter
  3. type rails server and press enter
  4. go to your browser and type http://localhost:3000

Thanks it works :)

localhost:3000 is needed on a windows computer rather than http://0.0.0.0:3000

Thanks it works :)