ONJava.com -- The Independent Source for Enterprise Java
oreilly.comSafari Books Online.Conferences.

advertisement

AddThis Social Bookmark Button
Article:
  Rolling with Ruby on Rails
Subject:   WEBrick won't answer requests
Date:   2006-06-21 03:34:06
From:   Mick_sp
Hi


I'm starting with RoR, trying to get things working. I'm following this tutorial for my first steps. At the point where i'm supposed to start the server for the first time i'm not getting any further. WEBrick seems to work:


=======================================
Microsoft Windows XP [versie 5.1.2600]
(C) Copyright 1985-2001 Microsoft Corp.


C:\>cd rails\cookbook


C:\rails\cookbook>ruby script\server
=> Booting WEBrick...
=> Rails application started on http://0.0.0.0:3000
=> Ctrl-C to shutdown server; call with --help for options
[2006-06-21 11:24:23] INFO WEBrick 1.3.1
[2006-06-21 11:24:23] INFO ruby 1.8.2 (2004-12-25) [i386-mswin32]
[2006-06-21 11:24:23] INFO WEBrick::HTTPServer#start: pid=2016
port=3000
=======================================


but my browser won't show the page if i try to access http://127.0.0.1:3000/ it just hangs. ctrl-c wont work to stop the server anymore in the
WEBrick console after i tried to get a page (it will if i haven't accessed a page yet). there's no disk or CPU activity. I have apache 1.3
installed but stopped the service for this test (shouldn't make a difference). Its a windows XP system and MySql 4.1.


One more thing: i wasn't able to use the --remote option in gem install rails. somehow it's not responding. So i downloaded the gems and installed them one by one. ( http://www.ruby-forum.com/topic/69447 last but one reply)


MichaŽl


1 to 2 of 2
  1. WEBrick won't answer requests
    2006-07-17 09:17:45  Cobold [View]

  2. Curt Hibbs photo WEBrick won't answer requests
    2006-06-21 07:24:48  Curt Hibbs | O'Reilly AuthorO'Reilly Blogger [View]

    • WEBrick won't answer requests
      2006-06-21 23:47:27  Mick_sp [View]

      • WEBrick won't answer requests
        2006-08-07 00:58:32  Henra [View]

1 to 2 of 2