On Apr 27, 2007, at 12:24 PM, Charles Oliver Nutter wrote: > 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)
Sorry to resurrect such an old topic, but I just ran into this again. As it turns out, I had a typo in one of my imports in environment.rb. It seems that requiring a non-existent file can cause this error. I have no idea why that should be the case, but I thought I should mention it here for the sake of future googlers. :dudley _______________________________________________ Jruby-extras-devel mailing list [email protected] http://rubyforge.org/mailman/listinfo/jruby-extras-devel
