enebo:12:14 ~/Documentsworkspace/jruby_1_0_branch/heh 771% ../bin/jruby -S gem install mongrel
Need to update 21 gems from http://gems.rubyforge.org
.....................
complete
Select which gem to install for your platform (java)
1. mongrel 1.1.1 (mswin32)
2. mongrel 1.1.1 (jruby)
3. mongrel 1.1.1 (ruby)
4. mongrel 1.1 (mswin32)
5. mongrel 1.1 (ruby)
6. mongrel 1.1 (jruby)
7. mongrel 1.0.4 (mswin32)
8. mongrel 1.0.4 (ruby)
9. mongrel 1.0.3 (ruby)
10. Skip this gem
11. Cancel installation
> 6
Install required dependency gem_plugin? [Yn] y
Install required dependency cgi_multipart_eof_fix? [Yn] y
Successfully installed mongrel-1.1-jruby
Successfully installed gem_plugin-0.2.3
Successfully installed cgi_multipart_eof_fix-2.5.0
Installing ri documentation for mongrel-1.1-jruby...
Installing ri documentation for gem_plugin-0.2.3...
Installing ri documentation for cgi_multipart_eof_fix-2.5.0...
Installing RDoc documentation for mongrel-1.1-jruby...
Installing RDoc documentation for gem_plugin-0.2.3...
Installing RDoc documentation for cgi_multipart_eof_fix-2.5.0...
enebo:12:15 ~/Documents/workspace/jruby_1_0_branch/heh 772% ../bin/jruby 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
Exiting
/Users/enebo/Documents/workspace/jruby_1_0_branch/lib/ruby/gems/1.8/gems/activesupport-2.0.1/lib/active_support/dependencies.rb:499:in `require': uninitialized constant Mongrel::Gems (NameError)
from /Users/enebo/Documents/workspace/jruby_1_0_branch/lib/ruby/gems/1.8/gems/rails-2.0.1/lib/commands/server.rb:39
from /Users/enebo/Documents/workspace/jruby_1_0_branch/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:27:in `require'
from /Users/enebo/Documents/workspace/jruby_1_0_branch/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:27:in `require'
from :1
to
Mongrel works. So at this point it thinks it has already required mongrel/gems (and prints show it requiring earlier during startup), but Mongrel::Gems is not defined. Hmmm.
trunk (1.1) does not have this problem so what is different?