Has anyone had troubles from Mongrel > 1.0.1? Just curious, because the last time I tried to run Merb it gave me some Mongrel error about the wrong number of arguments, or something like that. I can post the exact message tonight when I get home. -- Cheers, Kevin Williams http://kevwil.com/ http://www.almostserio.us/ http://kevwil.jaiku.com/
I just updated everything this morning, and still get the error. Here''s the message. I''m now on Leopard using the Apple build of Ruby. I have mongrel 1.0.4 and swiftiply 0.6.1 installed. I don''t think there are any other gems that would be involved here. /Library/Ruby/Gems/1.8/gems/mongrel-1.0.4/lib/mongrel/configurator.rb:139:in `initialize'': wrong number of arguments (5 for 4) (ArgumentError) from /Library/Ruby/Gems/1.8/gems/mongrel-1.0.4/lib/mongrel/configurator.rb:139:in `new'' from /Library/Ruby/Gems/1.8/gems/mongrel-1.0.4/lib/mongrel/configurator.rb:139:in `listener'' from /Library/Ruby/Gems/1.8/gems/merb-0.4.0/lib/merb/server.rb:518:in `cloaker_'' from /Library/Ruby/Gems/1.8/gems/mongrel-1.0.4/lib/mongrel/configurator.rb:50:in `call'' from /Library/Ruby/Gems/1.8/gems/mongrel-1.0.4/lib/mongrel/configurator.rb:50:in `initialize'' from /Library/Ruby/Gems/1.8/gems/merb-0.4.0/lib/merb/server.rb:517:in `new'' from /Library/Ruby/Gems/1.8/gems/merb-0.4.0/lib/merb/server.rb:517:in `mongrel_start'' from /Library/Ruby/Gems/1.8/gems/merb-0.4.0/lib/merb/server.rb:446:in `run'' from /Library/Ruby/Gems/1.8/gems/merb-0.4.0/bin/merb:6 from /usr/bin/merb:16:in `load'' from /usr/bin/merb:16 Thanks for looking into it. :) On 10/31/07, Wayne E. Seguin <wayneeseguin at gmail.com> wrote:> On 10/31/07, Kevin Williams <kevwil at gmail.com> wrote: > > Has anyone had troubles from Mongrel > 1.0.1? Just curious, because > > the last time I tried to run Merb it gave me some Mongrel error about > > the wrong number of arguments, or something like that. > > > > I can post the exact message tonight when I get home. > > > > Kevin, > > There have been a few changes so exact message would be most helpful. > > Thank you, > > ~Wayne-- Cheers, Kevin Williams http://kevwil.com/ http://www.almostserio.us/ http://kevwil.jaiku.com/
This is a known probelm in swiftiply, the newest mongrel release takes 5 args for the constructor of a new http server but the evented_mongrel still uses 4. Kirk will be releasing an update sometime soon. Thanks -Ezra On Nov 1, 2007, at 11:21 AM, Kevin Williams wrote:> I just updated everything this morning, and still get the error. > Here''s the message. > > I''m now on Leopard using the Apple build of Ruby. I have mongrel 1.0.4 > and swiftiply 0.6.1 installed. I don''t think there are any other gems > that would be involved here. > > /Library/Ruby/Gems/1.8/gems/mongrel-1.0.4/lib/mongrel/ > configurator.rb:139:in > `initialize'': wrong number of arguments (5 for 4) (ArgumentError) > from /Library/Ruby/Gems/1.8/gems/mongrel-1.0.4/lib/mongrel/ > configurator.rb:139:in > `new'' > from /Library/Ruby/Gems/1.8/gems/mongrel-1.0.4/lib/mongrel/ > configurator.rb:139:in > `listener'' > from /Library/Ruby/Gems/1.8/gems/merb-0.4.0/lib/merb/server.rb:518:in > `cloaker_'' > from /Library/Ruby/Gems/1.8/gems/mongrel-1.0.4/lib/mongrel/ > configurator.rb:50:in > `call'' > from /Library/Ruby/Gems/1.8/gems/mongrel-1.0.4/lib/mongrel/ > configurator.rb:50:in > `initialize'' > from /Library/Ruby/Gems/1.8/gems/merb-0.4.0/lib/merb/server.rb: > 517:in `new'' > from /Library/Ruby/Gems/1.8/gems/merb-0.4.0/lib/merb/server.rb:517:in > `mongrel_start'' > from /Library/Ruby/Gems/1.8/gems/merb-0.4.0/lib/merb/server.rb: > 446:in `run'' > from /Library/Ruby/Gems/1.8/gems/merb-0.4.0/bin/merb:6 > from /usr/bin/merb:16:in `load'' > from /usr/bin/merb:16 > > Thanks for looking into it. :) > > > On 10/31/07, Wayne E. Seguin <wayneeseguin at gmail.com> wrote: >> On 10/31/07, Kevin Williams <kevwil at gmail.com> wrote: >>> Has anyone had troubles from Mongrel > 1.0.1? Just curious, because >>> the last time I tried to run Merb it gave me some Mongrel error >>> about >>> the wrong number of arguments, or something like that. >>> >>> I can post the exact message tonight when I get home. >>> >> >> Kevin, >> >> There have been a few changes so exact message would be most helpful. >> >> Thank you, >> >> ~Wayne > > > -- > Cheers, > > Kevin Williams > http://kevwil.com/ > http://www.almostserio.us/ > http://kevwil.jaiku.com/ > _______________________________________________ > Merb-devel mailing list > Merb-devel at rubyforge.org > http://rubyforge.org/mailman/listinfo/merb-develEzra Zygmuntowicz Founder & Ruby Hacker ezra at engineyard.com EngineYard.com
Sweet. Thanks for the clarification! On 11/1/07, Ezra Zygmuntowicz <ez at engineyard.com> wrote:> > This is a known probelm in swiftiply, the newest mongrel release > takes 5 args for the constructor of a new http server but the > evented_mongrel still uses 4. Kirk will be releasing an update > sometime soon. > > Thanks > -Ezra > > > On Nov 1, 2007, at 11:21 AM, Kevin Williams wrote: > > > I just updated everything this morning, and still get the error. > > Here''s the message. > > > > I''m now on Leopard using the Apple build of Ruby. I have mongrel 1.0.4 > > and swiftiply 0.6.1 installed. I don''t think there are any other gems > > that would be involved here. > > > > /Library/Ruby/Gems/1.8/gems/mongrel-1.0.4/lib/mongrel/ > > configurator.rb:139:in > > `initialize'': wrong number of arguments (5 for 4) (ArgumentError) > > from /Library/Ruby/Gems/1.8/gems/mongrel-1.0.4/lib/mongrel/ > > configurator.rb:139:in > > `new'' > > from /Library/Ruby/Gems/1.8/gems/mongrel-1.0.4/lib/mongrel/ > > configurator.rb:139:in > > `listener'' > > from /Library/Ruby/Gems/1.8/gems/merb-0.4.0/lib/merb/server.rb:518:in > > `cloaker_'' > > from /Library/Ruby/Gems/1.8/gems/mongrel-1.0.4/lib/mongrel/ > > configurator.rb:50:in > > `call'' > > from /Library/Ruby/Gems/1.8/gems/mongrel-1.0.4/lib/mongrel/ > > configurator.rb:50:in > > `initialize'' > > from /Library/Ruby/Gems/1.8/gems/merb-0.4.0/lib/merb/server.rb: > > 517:in `new'' > > from /Library/Ruby/Gems/1.8/gems/merb-0.4.0/lib/merb/server.rb:517:in > > `mongrel_start'' > > from /Library/Ruby/Gems/1.8/gems/merb-0.4.0/lib/merb/server.rb: > > 446:in `run'' > > from /Library/Ruby/Gems/1.8/gems/merb-0.4.0/bin/merb:6 > > from /usr/bin/merb:16:in `load'' > > from /usr/bin/merb:16 > > > > Thanks for looking into it. :) > > > > > > On 10/31/07, Wayne E. Seguin <wayneeseguin at gmail.com> wrote: > >> On 10/31/07, Kevin Williams <kevwil at gmail.com> wrote: > >>> Has anyone had troubles from Mongrel > 1.0.1? Just curious, because > >>> the last time I tried to run Merb it gave me some Mongrel error > >>> about > >>> the wrong number of arguments, or something like that. > >>> > >>> I can post the exact message tonight when I get home. > >>> > >> > >> Kevin, > >> > >> There have been a few changes so exact message would be most helpful. > >> > >> Thank you, > >> > >> ~Wayne > > > > > > -- > > Cheers, > > > > Kevin Williams > > http://kevwil.com/ > > http://www.almostserio.us/ > > http://kevwil.jaiku.com/ > > _______________________________________________ > > Merb-devel mailing list > > Merb-devel at rubyforge.org > > http://rubyforge.org/mailman/listinfo/merb-devel > > Ezra Zygmuntowicz > Founder & Ruby Hacker > ezra at engineyard.com > EngineYard.com > > >-- Cheers, Kevin Williams http://kevwil.com/ http://www.almostserio.us/ http://kevwil.jaiku.com/