Mongel stops on first request

Hi,

I have just upgraded from WEBRick to Mongrel and now when I start my
rails server with script/server Mongrel is used instead. This is fine
until I try to navigate to a page when it just stops.

It looks like a dependency issue to me. There is barely any code in my
rails app at the moment and the only dependency is on REXML.

I have Ruport 1.2.1 and 1.2.3 gems installed too.

D:\Temp\reporting>ruby script/server
=> Booting Mongrel (use 'script/server webrick' to force WEBrick)
=> Rails application starting on http://0.0.0.0:3000
=> Call with -d to detach
=> Ctrl-C to shutdown server
** Starting Mongrel listening at 0.0.0.0:3000
** Starting Rails with development environment...
** Rails loaded.

[[[GETS TO HERE AND STAYS HERE UNTIL I ACCESS WEB PAGE]]]

** Loading any Rails specific GemPlugins
Exiting
C:/Program
Files/Ruby/lib/ruby/gems/1.8/gems/activesupport-1.4.4/lib/active_supp
ort/dependencies.rb:266:in `load_missing_constant': uninitialized
constant Ruport (NameError)
        from C:/Program
Files/Ruby/lib/ruby/gems/1.8/gems/activesupport-1.4.4/lib/active_support/dependencies.rb:452:in
`const_missing'
        from C:/Program
Files/Ruby/lib/ruby/gems/1.8/gems/activesupport-1.4.4/lib/active_support/dependencies.rb:464:in
`const_missing'
        from C:/Program
Files/Ruby/lib/ruby/gems/1.8/gems/pdf-helpers-0.1.0/lib/pdf-helpers/init.rb:3
        from C:/Program
Files/Ruby/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:27:in
`gem_original_require'
        from C:/Program
Files/Ruby/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:27:in
`require'
        from C:/Program
Files/Ruby/lib/ruby/gems/1.8/gems/activesupport-1.4.4/lib/active_support/dependencies.rb:495:in
`require'
        from C:/Program
Files/Ruby/lib/ruby/gems/1.8/gems/activesupport-1.4.4/lib/active_support/dependencies.rb:342:in
`new_constants_in'
        from C:/Program
Files/Ruby/lib/ruby/gems/1.8/gems/activesupport-1.4.4/lib/active_support/dependencies.rb:495:in
`require'
         ... 25 levels...
        from C:/Program
Files/Ruby/lib/ruby/gems/1.8/gems/rails-1.2.5/lib/commands/server.rb:39
        from C:/Program
Files/Ruby/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:27:in
`gem_original_require'
        from C:/Program
Files/Ruby/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:27:in
`require'
        from script/server:3

Any idea what I am missing?

Thanks,

Looks like you forgot to require ‘ruport’ in environment.rb.

-Bill

Simon S. wrote:

[[[GETS TO HERE AND STAYS HERE UNTIL I ACCESS WEB PAGE]]]
from C:/Program
from C:/Program
Files/Ruby/lib/ruby/gems/1.8/gems/rails-1.2.5/lib/commands/server.rb:39
Any idea what I am missing?

Thanks,


Sincerely,

William P.