# Re: cannot get past "Booting WEBrick"

**URL:** <https://www.ruby-forum.com/t/re-cannot-get-past-booting-webrick/100361>\
**Category:** Rails\
**Created:** [July 28, 2006, 4:11pm UTC](https://www.ruby-forum.com/t/re-cannot-get-past-booting-webrick/100361 "2006-07-28T16:11:59Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![A\_Qureshi](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/a/51bf81/32.png) [@A\_Qureshi](https://www.ruby-forum.com/u/A_Qureshi)\
**Post date:** [July 28, 2006, 4:11pm UTC](https://www.ruby-forum.com/t/re-cannot-get-past-booting-webrick/100361/1 "2006-07-28T16:11:59Z")

</div>

Thanks for the hint. The book says that I should expect the following  
traces after “Booting WEBrick…”:

demo\> ruby script/server

=\> Booting WEBrick…

=\> Rails application started on [http://0.0.0.0:3000](http://0.0.0.0:3000)

=\> Ctrl-C to shutdown server; call with --help for options

[2006-01-08 21:44:10] INFO WEBrick 1.3.1

[2006-01-08 21:44:10] INFO ruby 1.8.2 (2004-12-30) [powerpc-darwin8.2.0]

[2006-01-08 21:44:11] INFO WEBrick::HTTPServer#start: pid=10138  
port=3000

But, I do not get any of these traces after “Booting WEBrick.” Is it a  
problem that I do not get these traces?

Also, when I go to [http://localhost:3000](http://localhost:3000), I don’t see anything.

Any suggestions? Thanks again for the help.

> Well, I have just installed rails with RubyGem. What I do is to create a  
> new app and then I start WEBrick from this new app. Then, I open a new  
> command window to keep on doing things, while the first one stays with  
> the server, let’s say.

> I hope this gives you any hint to your problem… :S

---

<div class="post-metadata">

**Author:** ![A\_Qureshi](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/a/51bf81/32.png) [@A\_Qureshi](https://www.ruby-forum.com/u/A_Qureshi)\
**Post date:** [July 28, 2006, 4:18pm UTC](https://www.ruby-forum.com/t/re-cannot-get-past-booting-webrick/100361/2 "2006-07-28T16:18:47Z")

</div>

A Qureshi wrote:

> But, I do not get any of these traces after “Booting WEBrick.” Is it a  
> problem that I do not get these traces?
> 
> Also, when I go to [http://localhost:3000](http://localhost:3000), I don’t see anything.
> 
> Any suggestions? Thanks again for the help.

Does it go back to the prompt after saying Booting WEBrick? If that’s  
the case, there is something wrong with your Rails application. Try to  
run ruby script/console instead, and see if you get an exception

–  
Ola B. ([http://ola-bini.blogspot.com](http://ola-bini.blogspot.com))  
JvYAML, RbYAML, JRuby and Jatha contributor  
System Developer, Karolinska Institutet ([http://www.ki.se](http://www.ki.se))  
OLogix Consulting ([http://www.ologix.com](http://www.ologix.com))

“Yields falsehood when quined” yields falsehood when quined.

---

<div class="post-metadata">

**Author:** ![A\_Qureshi](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/a/51bf81/32.png) [@A\_Qureshi](https://www.ruby-forum.com/u/A_Qureshi)\
**Post date:** [July 28, 2006, 5:19pm UTC](https://www.ruby-forum.com/t/re-cannot-get-past-booting-webrick/100361/3 "2006-07-28T17:19:58Z")

</div>

A Qureshi wrote:

> But, I do not get any of these traces after “Booting WEBrick.” Is it  
> a problem that I do not get these traces?
> 
> Also, when I go to [http://localhost:3000](http://localhost:3000), I don’t see anything.
> 
> Any suggestions? Thanks again for the help.

I’m not able to help cos I have no idea what may be wrong. You should  
normally see the remaining outputs.

1. What rails are you using? InstantRails?
2. Also, try to start it on another port  
prompt\>ruby script\server -p3010  
then try to connect to [http://localhost:3010/](http://localhost:3010/)
3. Are there any other installations of Ruby in your path??  
prompt\>ruby --version  
What value does it return? Then go to the where you installed Ruby (for  
Rails) and run the same command again. If it is the same value, then at  
least that is set correctly - and I’m confused!

See if this helps!  
Cheers  
Mohit.

---

<div class="post-metadata">

**Author:** ![A\_Qureshi](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/a/51bf81/32.png) [@A\_Qureshi](https://www.ruby-forum.com/u/A_Qureshi)\
**Post date:** [July 28, 2006, 5:33pm UTC](https://www.ruby-forum.com/t/re-cannot-get-past-booting-webrick/100361/4 "2006-07-28T17:33:16Z")

</div>

You might also check that you haven’t modified environment.rb or any of  
the other configuration files in an illegal/non-working way. I spent an  
embarassing amount of time tracing down the same issue you are  
describing  
and a bad environment.rb was the culprit.

Joe

---

<div class="post-metadata">

**Author:** ![A\_Qureshi](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/a/51bf81/32.png) [@A\_Qureshi](https://www.ruby-forum.com/u/A_Qureshi)\
**Post date:** [July 28, 2006, 7:24pm UTC](https://www.ruby-forum.com/t/re-cannot-get-past-booting-webrick/100361/5 "2006-07-28T19:24:07Z")

</div>

I spent two weeks with a WEBrick issue on Windows and finally came  
across something that shed light on the situation. This was my last  
resort and luckily it worked. It had to do with resetting Winsock on  
XP:

[http://www.db75.com/new\_blog/?p=249](http://www.db75.com/new_blog/?p=249)

It’s worth a shot 🙂
