Hi at all, after spending some hours on installing ruby on rails, I passed the point to start my server. But mongrel failed to start with the following message: => Booting Mongrel => Rails 2.3.8 application starting on http://0.0.0.0:3000 => Call with -d to detach => Ctrl-C to shutdown server Exiting /usr/local/lib/ruby/gems/1.8/gems/rack-1.1.0/lib/rack/handler/ mongrel.rb:10:in `initialize'': wrong number of arguments (5 for 4) (ArgumentError) from /usr/local/lib/ruby/gems/1.8/gems/rack-1.1.0/lib/rack/handler/ mongrel.rb:10:in `new'' from /usr/local/lib/ruby/gems/1.8/gems/rack-1.1.0/lib/rack/handler/ mongrel.rb:10:in `run'' from /usr/local/lib/ruby/gems/1.8/gems/rails-2.3.8/lib/commands/ server.rb:111 from /usr/local/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb: 31:in `gem_original_require'' from /usr/local/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb: 31:in `require'' from script/server:3 Has anyone out there an solution for my problem? Regards, Gregor -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.
On Tue, Jun 1, 2010 at 1:19 PM, Gregor <gregor.mitzka-gM/Ye1E23mwN+BqQ9rBEUg@public.gmane.org> wrote:> after spending some hours on installing ruby on rails, I passed the > point to start my server."hours"? That doesn''t sound promising :-)> But mongrel failed to start with the following message:> /usr/local/lib/ruby/gems/1.8/gems/rack-1.1.0/lib/rack/handler/ > mongrel.rb:10:in `initialize'': wrong number of arguments (5 for 4) > (ArgumentError)1) What command are you using to start it? 2) Does webrick start? 3) What does `gem list --local` produce? -- Hassan Schroeder ------------------------ hassan.schroeder-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org twitter: @hassan -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.
On 1 Jun., 23:50, Hassan Schroeder <hassan.schroe...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:> On Tue, Jun 1, 2010 at 1:19 PM, Gregor <gregor.mit...-gM/Ye1E23mwN+BqQ9rBEUg@public.gmane.org> wrote: > > after spending some hours on installing ruby on rails, I passed the > > point to start my server. > > "hours"? That doesn''t sound promising :-) > > > But mongrel failed to start with the following message: > > /usr/local/lib/ruby/gems/1.8/gems/rack-1.1.0/lib/rack/handler/ > > mongrel.rb:10:in `initialize'': wrong number of arguments (5 for 4) > > (ArgumentError) > > 1) What command are you using to start it? > 2) Does webrick start? > 3) What does `gem list --local` produce? > > -- > Hassan Schroeder ------------------------ hassan.schroe...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org > twitter: @hassanSorry for that, but first I gone the wrong way and after some hours I noticed how easy it is to install rails.. I use the command "ruby script/server". How do I see if webrick starts? Output of "gem list --local": actionmailer (2.3.8) actionpack (2.3.8) activerecord (2.3.8, 2.3.4) activeresource (2.3.8) activesupport (2.3.8, 2.3.4, 2.2.3) builder (2.1.2) camping (1.5) cgi_multipart_eof_fix (2.1) columnize (0.3.1) daemons (1.0.7) fastthread (1.0) gem_plugin (0.2.2) markaby (0.5) metaid (1.0) mongrel (1.0.1) rack (1.1.0) rails (2.3.8) rake (0.8.7, 0.7.3) sources (0.0.1) sqlite3-ruby (1.2.1) test-spec (0.10.0) Regard, Gregor -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.
On Tue, Jun 1, 2010 at 4:38 PM, Gregor <gregor.mitzka-gM/Ye1E23mwN+BqQ9rBEUg@public.gmane.org> wrote:> Sorry for that, but first I gone the wrong way and after some hours I > noticed how easy it is to install rails.. I use the command "ruby > script/server". How do I see if webrick starts?prompt% script/server webrick> Output of "gem list --local": > > actionmailer (2.3.8) > actionpack (2.3.8) > activerecord (2.3.8, 2.3.4) > activeresource (2.3.8) > activesupport (2.3.8, 2.3.4, 2.2.3)Whatever "wrong way" you started out with, you might want to just `sudo gem uninstall rails` completely, and then re-install it. Did you create your test project before or after you installed the 2.3.8 version of Rails? -- Hassan Schroeder ------------------------ hassan.schroeder-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org twitter: @hassan -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.
On 2 Jun., 02:10, Hassan Schroeder <hassan.schroe...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:> On Tue, Jun 1, 2010 at 4:38 PM, Gregor <gregor.mit...-gM/Ye1E23mwN+BqQ9rBEUg@public.gmane.org> wrote: > > Sorry for that, but first I gone the wrong way and after some hours I > > noticed how easy it is to install rails.. I use the command "ruby > > script/server". How do I see if webrick starts? > > prompt% script/server webrick > > > Output of "gem list --local": > > > actionmailer (2.3.8) > > actionpack (2.3.8) > > activerecord (2.3.8, 2.3.4) > > activeresource (2.3.8) > > activesupport (2.3.8, 2.3.4, 2.2.3) > > Whatever "wrong way" you started out with, you might want to just > `sudo gem uninstall rails` completely, and then re-install it. > > Did you create your test project before or after you installed the 2.3.8 > version of Rails? > > -- > Hassan Schroeder ------------------------ hassan.schroe...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org > twitter: @hassanYeah, I re-installed rails and it doesn''t work at all. The project was created after installing version 2.3.8 and it''s a riddle to me, why there are different versions of some packages. Webrick: => Booting WEBrick => Rails 2.3.8 application starting on http://0.0.0.0:3000 => Call with -d to detach => Ctrl-C to shutdown server [2010-06-02 03:52:47] INFO WEBrick 1.3.1 [2010-06-02 03:52:47] INFO ruby 1.8.6 (2007-03-13) [universal- darwin8.0] [2010-06-02 03:52:47] INFO WEBrick::HTTPServer#start: pid=85268 port=3000 Regards, Gregor -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.
Gregor <gregor.mitzka@...> writes:> > On 2 Jun., 02:10, Hassan Schroeder <hassan.schroe...@...> wrote: > > On Tue, Jun 1, 2010 at 4:38 PM, Gregor <gregor.mit...@...> wrote: > > > Sorry for that, but first I gone the wrong way and after some hours I > > > noticed how easy it is to install rails.. I use the command "ruby > > > script/server". How do I see if webrick starts? > > > > prompt% script/server webrick > > > > > Output of "gem list --local": > > > > > actionmailer (2.3.8) > > > actionpack (2.3.8) > > > activerecord (2.3.8, 2.3.4) > > > activeresource (2.3.8) > > > activesupport (2.3.8, 2.3.4, 2.2.3) > > > > Whatever "wrong way" you started out with, you might want to just > > `sudo gem uninstall rails` completely, and then re-install it. > > > > Did you create your test project before or after you installed the 2.3.8 > > version of Rails? > > > > -- > > Hassan Schroeder ------------------------ hassan.schroe...@... > > twitter: @hassan > > Yeah, I re-installed rails and it doesn''t work at all. The project was > created after installing version 2.3.8 and it''s a riddle to me, why > there are different versions of some packages. >I am having the same problem on on Ubuntu. Did you find a solution? script/server fails with => Booting Mongrel => Rails 2.3.8 application starting on http://0.0.0.0:3000 => Call with -d to detach => Ctrl-C to shutdown server Exiting /usr/lib/ruby/gems/1.8/gems/rack-1.1.0/lib/rack/handler/mongrel.rb:10:in `initialize'': wrong number of arguments (5 for 4) (ArgumentError) While script/server webrick works fine. cheers, Morten -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.
Morten Lindow <morten.lindow@...> writes:> I am having the same problem on on Ubuntu. Did you find a solution?I had the same issue recently and all Google turned up were numerous different web sites mirroring this same thread. Thus, for the sake of archives, here''s what fixed it for me, even if it might be too late for the original poster. This is another one of those "an API change broke other software so you have a cascade of enforced upgrades" issues. Mongrel and Rack fell out this time. Rack 1.1.0 (for recent releases of the Rails 2.3.x series) seems incompatible with comparatively old Mongrel releases. Mongrel''s in a gem too and was at version 1.0.1 on my machine. Updating it to the time-of-writing latest version 1.1.5 fixed the problem, though it pulled in a few other gem updates in passing. -- TTFN, Andrew Hodgkinson Find some electronic music at: Photos, wallpaper, software and more: http://pond.org.uk/music.html http://pond.org.uk/ -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.