Seems to be something in Mongrel. I have not investigated at all yet:

/opt/local/bin/mongrel_rails
~/mephisto $ RAILS_ENV=production jruby script/server mongrel
=> 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/headius/NetBeansProjects/jruby/lib/ruby/gems/1.8/gems/rails-1.2.3/lib/commands/servers/mongrel.rb:13
 
warning: already initialized constant OPTIONS
/Users/headius/NetBeansProjects/jruby/lib/ruby/gems/1.8/gems/rails-1.2.3/lib/commands/servers/mongrel.rb:32:in
 
`method_missing': undefined method `options' for ["start", "-p", "3000", 
"-a", "0.0.0.0", "-e", "production", "-P", 
"script/../config/../tmp/pids/mongrel.pid"]:Array (NoMethodError)
         from 
/Users/headius/NetBeansProjects/jruby/lib/ruby/gems/1.8/gems/rails-1.2.3/lib/commands/servers/mongrel.rb:32
         from 
/Users/headius/NetBeansProjects/jruby/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:32:in
 
`require'
         from 
/Users/headius/NetBeansProjects/jruby/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:32:in
 
`require'
         from 
/Users/headius/NetBeansProjects/jruby/lib/ruby/gems/1.8/gems/rails-1.2.3/lib/commands/server.rb:39
         from 
/Users/headius/NetBeansProjects/jruby/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:27:in
 
`require'
         from 
/Users/headius/NetBeansProjects/jruby/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:27:in
 
`require'
         from script/server:2

- Charlie
_______________________________________________
Jruby-extras-devel mailing list
[email protected]
http://rubyforge.org/mailman/listinfo/jruby-extras-devel

Reply via email to