Sarah Tanembaum
12/1/2004 10:32:00 PM
Lothar Scholz wrote:
> Hello Sarah,
>
> ST> Hi David, I'm running PIII/800MHz laptop. Perhaps I did exagerate a bit,
> ST> but not much. It takes at least 3 minutes for the sample page to come up
> ST> and it will take just as long to reload/refresh the same page. Plus,
> ST> starting up the "ruby dispatch.servlet -a" takes at least 1 minutes.
>
> ST> I will try what you suggested by updating it to the latest beta.
>
> Do you have the Windows SP2 firewall enabled ? I also got a 20 sec
> delay for the first connect on my 2,8Ghz PIV machine (VMWare sandbox)
> before i turned the firewall off.
>
> 3 minutes is a clear sign that the problem is your envrionment and not
> inside ruby/rails.
>
Below are the log from the console of '%> ruby dispatch.servlet -a'
C:\rails\public>ruby dispatch.servlet -a
dispatch: invalid option: -a
[2004-12-01 17:18:46] INFO WEBrick 1.3.1
[2004-12-01 17:18:46] INFO ruby 1.8.2 (2004-11-06) [i386-mswin32]
[2004-12-01 17:18:46] INFO WEBrick::HTTPServer#start: pid=2620 port=3000
#<WEBrick::HTTPStatus::NotFound: `/favicon.ico' not found.>
[2004-12-01 17:21:18] ERROR `/favicon.ico' not found.
127.0.0.1 - - [01/Dec/2004:17:21:18 Eastern Standard Time] "GET
/favicon.ico HTTP/1.1" 404 281
- -> /favicon.ico
#<WEBrick::HTTPStatus::NotFound: `/hello/index' not found.>
X:/websites/rails/public/../config/environments/shared.rb:1: warning:
already initialized constant ADDITIONAL_LOAD_PATHS
#<NameError: undefined method `database_configurations' for class
`Builder::BlankSlate'>
["x:/apps/ruby/ruby-1.8/lib/ruby/gems/1.8/gems/actionpack-0.9.5.200412010045/lib/action_view/vendor/builder/blankslate.rb:20:in
`un
ef_method'",
"x:/apps/ruby/ruby-1.8/lib/ruby/gems/1.8/gems/actionpack-0.9.5.200412010045/lib/action_view/vendor/builder/blankslate.
b:20:in `hide'",
"x:/apps/ruby/ruby-1.8/lib/ruby/gems/1.8/gems/actionpack-0.9.5.200412010045/lib/action_view/vendor/builder/blanksl
te.rb:48:in `method_added'",
"X:/websites/rails/public/../config/environments/shared.rb:15",
"x:/apps/ruby/ruby-1.8/lib/ruby/site_r
by/1.8/rubygems/loadpath_manager.rb:5:in `require__'",
"x:/apps/ruby/ruby-1.8/lib/ruby/site_ruby/1.8/rubygems/loadpath_manager.rb:5
in `require'",
"X:/websites/rails/public/../config/environments/production.rb:1",
"x:/apps/ruby/ruby-1.8/lib/ruby/site_ruby/1.8/rub
gems/loadpath_manager.rb:5:in `require__'",
"x:/apps/ruby/ruby-1.8/lib/ruby/site_ruby/1.8/rubygems/loadpath_manager.rb:5:in
`requir
'", "X:/websites/rails/public/dispatch.rb:3",
"x:/apps/ruby/ruby-1.8/lib/ruby/gems/1.8/gems/rails-0.8.5.200412010045/lib/webrick_se
ver.rb:122:in `load'",
"x:/apps/ruby/ruby-1.8/lib/ruby/gems/1.8/gems/rails-0.8.5.200412010045/lib/webrick_server.rb:122:in
`handle_
ispatch'",
"x:/apps/ruby/ruby-1.8/lib/ruby/gems/1.8/gems/rails-0.8.5.200412010045/lib/webrick_server.rb:101:in
`handle_mapped'", "x
/apps/ruby/ruby-1.8/lib/ruby/gems/1.8/gems/rails-0.8.5.200412010045/lib/webrick_server.rb:53:in
`do_GET'", "x:/apps/ruby/ruby-1.8/l
b/ruby/1.8/webrick/httpservlet/abstract.rb:35:in `__send__'",
"x:/apps/ruby/ruby-1.8/lib/ruby/1.8/webrick/httpservlet/abstract.rb:3
:in `service'",
"x:/apps/ruby/ruby-1.8/lib/ruby/1.8/webrick/httpserver.rb:97:in
`service'", "x:/apps/ruby/ruby-1.8/lib/ruby/1.8/web
ick/httpserver.rb:58:in `run'",
"x:/apps/ruby/ruby-1.8/lib/ruby/1.8/webrick/server.rb:153:in
`start_thread'", "x:/apps/ruby/ruby-1.
/lib/ruby/1.8/webrick/server.rb:147:in `start'",
"x:/apps/ruby/ruby-1.8/lib/ruby/1.8/webrick/server.rb:147:in
`start_thread'", "x:/
pps/ruby/ruby-1.8/lib/ruby/1.8/webrick/server.rb:97:in `start'",
"x:/apps/ruby/ruby-1.8/lib/ruby/1.8/webrick/server.rb:89:in `each'
, "x:/apps/ruby/ruby-1.8/lib/ruby/1.8/webrick/server.rb:89:in `start'",
"x:/apps/ruby/ruby-1.8/lib/ruby/1.8/webrick/server.rb:79:in
`start'", "x:/apps/ruby/ruby-1.8/lib/ruby/1.8/webrick/server.rb:79:in
`start'", "x:/apps/ruby/ruby-1.8/lib/ruby/gems/1.8/gems/rails
0.8.5.200412010045/lib/webrick_server.rb:37:in `dispatch'",
"dispatch.servlet:45"]
[2004-12-01 17:21:40] ERROR `/hello/index' not found.
127.0.0.1 - - [01/Dec/2004:17:21:30 Eastern Standard Time] "GET
/hello/index HTTP/1.1" 404 281
- -> /hello/index
#<WEBrick::HTTPStatus::NotFound: `/favicon.ico' not found.>
[2004-12-01 17:21:41] ERROR `/favicon.ico' not found.
127.0.0.1 - - [01/Dec/2004:17:21:40 Eastern Standard Time] "GET
/favicon.ico HTTP/1.1" 404 281
- -> /favicon.ico
#<WEBrick::HTTPStatus::NotFound: `/hello/index' not found.>
127.0.0.1 - - [01/Dec/2004:17:22:42 Eastern Standard Time] "GET
/hello/index HTTP/1.1" 200 306
- -> /hello/index
#<WEBrick::HTTPStatus::NotFound: `/favicon.ico' not found.>
[2004-12-01 17:22:48] ERROR `/favicon.ico' not found.
127.0.0.1 - - [01/Dec/2004:17:22:48 Eastern Standard Time] "GET
/favicon.ico HTTP/1.1" 404 281
- -> /favicon.ico
#<WEBrick::HTTPStatus::NotFound: `/hello/index' not found.>
127.0.0.1 - - [01/Dec/2004:17:23:05 Eastern Standard Time] "GET
/hello/index HTTP/1.1" 200 306
- -> /hello/index
#<WEBrick::HTTPStatus::NotFound: `/favicon.ico' not found.>
[2004-12-01 17:23:07] ERROR `/favicon.ico' not found.
127.0.0.1 - - [01/Dec/2004:17:23:07 Eastern Standard Time] "GET
/favicon.ico HTTP/1.1" 404 281
- -> /favicon.ico
#<WEBrick::HTTPStatus::NotFound: `/hello/index' not found.>
127.0.0.1 - - [01/Dec/2004:17:23:25 Eastern Standard Time] "GET
/hello/index HTTP/1.1" 200 306
- -> /hello/index
#<WEBrick::HTTPStatus::NotFound: `/favicon.ico' not found.>
[2004-12-01 17:23:31] ERROR `/favicon.ico' not found.
127.0.0.1 - - [01/Dec/2004:17:23:31 Eastern Standard Time] "GET
/favicon.ico HTTP/1.1" 404 281
- -> /favicon.ico