From: Zed Shaw Date: 2006-01-20T20:20:54+09:00 Subject: Re: [ANN] Mongrel 0.1.0 -- A Fast As Hell Mostly Ruby Web Server The already initialized constants are just from how the tests are loaded (I think). Those constants will go away anyhow so safe to ignore. The timeout explosion though is interesting. If you look in test/ test_ws.rb you can see I put a 15 second timeout around a simple test of the web server. If you're getting this then loading and hitting the webserver is taking longer than 15 seconds. Either it really doesn't work on your system, or your system is too slow. Can you try putting a longer timeout just for test? Also, what are you running? Otherwise, does the examples/simpletest.rb work at least? This test failure may just be a false positive. Zed A. Shaw http://www.zedshaw.com/ On Jan 20, 2006, at 2:09 AM, Ezra Zygmuntowicz wrote: > > On Jan 19, 2006, at 10:45 PM, Zed Shaw wrote: > >> Hi, >> >> This is an announce for Mongrel, a mostly Ruby webserver. I just >> started it as I was trying to work on solutions for people >> deploying Ruby web applications, and already it's pretty damn >> fast. We're talking really really damn fast. I mean like >> people won't believe me that it's this fast and I don't really >> believe it. >> >> >> Thanks for the time, and enjoy. >> >> Zed A. Shaw >> http://www.zedshaw.com/ >> > > > Zed- > > This looks like fun. I tried to install it but got errors. Can you > see whats wrong here when I run rake? > > root@grunt:~/mongrel-0.1.0# rake > (in /home/ez/mongrel-0.1.0) > make > make: Nothing to be done for `all'. > cp ext/http11/http11.so lib > /usr/local/bin/ruby -Ilib:test "/usr/local/lib/ruby/gems/1.8/gems/ > rake-0.7.0/lib/rake/rake_test_loader.rb" "test/test_http11.rb" > "test/test_trie.rb" "test/test_ws.rb" > ./lib/mongrel.rb:54: warning: already initialized constant > ERROR_404_RESPONSE > ./lib/mongrel.rb:56: warning: already initialized constant CHUNK_SIZE > Loaded suite /usr/local/lib/ruby/gems/1.8/gems/rake-0.7.0/lib/rake/ > rake_test_loader > Started > Error result after 6 bytes of 15 > .Read 18 string was 18 > ...Running server > Hitting server > /usr/local/lib/ruby/1.8/timeout.rb:54:in `open': execution expired > (Timeout::Error) > from /usr/local/lib/ruby/1.8/net/http.rb:562:in `connect' > from /usr/local/lib/ruby/1.8/timeout.rb:48:in `timeout' > from /usr/local/lib/ruby/1.8/timeout.rb:76:in `timeout' > from /usr/local/lib/ruby/1.8/net/http.rb:562:in `connect' > from /usr/local/lib/ruby/1.8/net/http.rb:555:in `do_start' > from /usr/local/lib/ruby/1.8/net/http.rb:544:in `start' > from /usr/local/lib/ruby/1.8/net/http.rb:404:in `post_form' > from ./test/test_ws.rb:20:in `test_simple_server' > ... 11 levels... > from /usr/local/lib/ruby/1.8/test/unit/autorunner.rb:200:in > `run' > from /usr/local/lib/ruby/1.8/test/unit/autorunner.rb:13:in > `run' > from /usr/local/lib/ruby/1.8/test/unit.rb:285 > from /usr/local/lib/ruby/gems/1.8/gems/rake-0.7.0/lib/rake/ > rake_test_loader.rb:5 > > I'm looking forward to playing with this. > > Thanks- > -Ezra Zygmuntowicz > WebMaster > Yakima Herald-Republic Newspaper > http://yakimaherald.com > ezra@yakima-herald.com > blog: http://brainspl.at > > >