# WEBrick won't start

**URL:** <https://www.ruby-forum.com/t/webrick-wont-start/62898>\
**Category:** Rails\
**Created:** [June 9, 2006, 6:59am UTC](https://www.ruby-forum.com/t/webrick-wont-start/62898 "2006-06-09T06:59:40Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![jemminger](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/j/c0e974/32.png) [@jemminger](https://www.ruby-forum.com/u/jemminger)\
**Post date:** [June 9, 2006, 6:59am UTC](https://www.ruby-forum.com/t/webrick-wont-start/62898/1 "2006-06-09T06:59:40Z")

</div>

without going into actual source code yet, here is the general scenario:

i’ve pulled down a project from svn that a friend has been developing on  
a linux box… i’m on a windows box.

if i run “ruby script/server”, i get one line of output:  
=\> Booting WEBrick…

then it dies and goes back to command prompt with no error messages.

…however, if i pull down the project on my linux box and start the  
server, it works fine.

no database connection is used yet, though i do have it configured on  
the windows side and pointing to a valid database. database.yml is  
configured on the linux version, but the database has not been created  
yet and it still starts normally.

has anyone experienced this? is there any way to get the webrick server  
to output more verbose info on why it’s crashing?

thanks,  
jeff

---

<div class="post-metadata">

**Author:** ![jemminger](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/j/c0e974/32.png) [@jemminger](https://www.ruby-forum.com/u/jemminger)\
**Post date:** [June 9, 2006, 7:31am UTC](https://www.ruby-forum.com/t/webrick-wont-start/62898/2 "2006-06-09T07:31:36Z")

</div>

On Jun 9, 2006, at 10:29 AM, jeff emminger wrote:

> if i run “ruby script/server”, i get one line of output:  
> =\> Booting WEBrick…

Check the ruby path specified in your dispatch.cgi/dispatch.fcgi/  
dispatch.rb.

Warren Brian Noronha  
[http://www.hyperionreractor.net](http://www.hyperionreractor.net)

---

<div class="post-metadata">

**Author:** ![jemminger](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/j/c0e974/32.png) [@jemminger](https://www.ruby-forum.com/u/jemminger)\
**Post date:** [June 9, 2006, 8:10am UTC](https://www.ruby-forum.com/t/webrick-wont-start/62898/3 "2006-06-09T08:10:55Z")

</div>

and if you want to get real fancy, run ‘strace ruby script/server’ to  
see exactly whats happning, get ready for alot of text spew though.

d.

---

<div class="post-metadata">

**Author:** ![jemminger](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/j/c0e974/32.png) [@jemminger](https://www.ruby-forum.com/u/jemminger)\
**Post date:** [June 16, 2006, 10:57pm UTC](https://www.ruby-forum.com/t/webrick-wont-start/62898/4 "2006-06-16T22:57:05Z")

</div>

David Andersen wrote:

> and if you want to get real fancy, run ‘strace ruby script/server’ to  
> see exactly whats happning, get ready for alot of text spew though.

i’m on windows, so i don’t think i have strace… but i did find  
something called “StraceNT”… ran that, and got an error:

c:/ruby/lib/ruby/site\_ruby/1.8/i386-msvcrt/readline.so: [BUG]  
Segmentation fault  
ruby 1.8.2 (2004-12-25) [i386-mswin32]

plus 470MB of system calls 🙂

---

<div class="post-metadata">

**Author:** ![jemminger](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/j/c0e974/32.png) [@jemminger](https://www.ruby-forum.com/u/jemminger)\
**Post date:** [June 16, 2006, 10:53pm UTC](https://www.ruby-forum.com/t/webrick-wont-start/62898/5 "2006-06-16T22:53:05Z")

</div>

Warren N. wrote:

> Check the ruby path specified in your dispatch.cgi/dispatch.fcgi/  
> dispatch.rb.

they were pointing to the ruby install on the linux box, so i changed  
them all to point to the install on my windows box.

same error (or lack thereof) still…
