Mongrel is now released under the Ruby license instead of the LGPL.
I’m hoping this increases the adoption of Mongrel even further and
hopefully I can start pushing to get Mongrel included in Ruby directly.
INSTALL
As usual, you install it with your friendly gem install method of
choice:
gem install mongrel
Or whatever works for you. If the mirror doesn’t update for you fast
enough, you can also grab it with:
catalog1# mongrel_rails start -C config/mongrel.conf
** Loading settings from config/mongrel.conf (they override command
line).
** Starting Mongrel listening at 69.25.136.52:80
** Loading additional MIME types from config/mime.types
/usr/local/lib/ruby/gems/1.8/gems/mongrel-0.3.13.3/lib/mongrel.rb:666:in register': undefined methodresolve’ for nil:Mongrel::URIClassifier
(NoMethodError)
from
/usr/local/lib/ruby/gems/1.8/gems/mongrel-0.3.13.3/lib/mongrel.rb:850:in uri' from /usr/local/lib/ruby/gems/1.8/gems/mongrel-0.3.13.3/lib/mongrel.rb:1018:indebug’
from
/usr/local/lib/ruby/gems/1.8/gems/mongrel-0.3.13.3/lib/mongrel.rb:1016:in debug' from /usr/local/lib/ruby/gems/1.8/gems/mongrel-0.3.13.3/bin/mongrel_rails:108:incloaker_’
from
/usr/local/lib/ruby/gems/1.8/gems/mongrel-0.3.13.3/lib/mongrel.rb:832:in listener' from /usr/local/lib/ruby/gems/1.8/gems/mongrel-0.3.13.3/bin/mongrel_rails:96:incloaker_’
from
/usr/local/lib/ruby/gems/1.8/gems/mongrel-0.3.13.3/lib/mongrel.rb:750:in initialize' from /usr/local/lib/ruby/gems/1.8/gems/mongrel-0.3.13.3/bin/mongrel_rails:83:inrun’
from
/usr/local/lib/ruby/gems/1.8/gems/mongrel-0.3.13.3/lib/mongrel/command.rb:199:in
`run’
from
/usr/local/lib/ruby/gems/1.8/gems/mongrel-0.3.13.3/bin/mongrel_rails:235
from /usr/local/bin/mongrel_rails:18
I just installed and checked it, but could you shoot me your
mongrel.conf off list so i can look? Might be something related to some
merging wizardry I was doing.
I just installed and checked it, but could you shoot me your
mongrel.conf off list so i can look? Might be something related to some
merging wizardry I was doing.
I just installed and checked it, but could you shoot me your
mongrel.conf off list so i can look? Might be something related to some
merging wizardry I was doing.
I don’t like how errors are intercepted in the new version. Is it
possible to show the whole callstack or at least the line number of
the showed line ?
Hey Jonas, I believe they’ve always been stuffed if they’re typical
errors which don’t really seem important (like client closed the
socket). If you can shoot me the error message I can look at how I
might make this optional.
Hi Zed
Thanks for taking care about my opinion. Yesterday I was building some
Camping extension. For the test, I have a small app that runs over
mongrel using the camping launcher.
Here is an example of error :
Tue Jul 04 09:22:59 CEST 2006: ERROR: wrong number of arguments (3 for
0)
You might admit that it’s hard to guess where that’s happening
On Mon, 2006-07-03 at 11:00 +0200, Jonas P. wrote:
I don’t like how errors are intercepted in the new version. Is it
possible to show the whole callstack or at least the line number of
the showed line ?
Hey Jonas, I believe they’ve always been stuffed if they’re typical
errors which don’t really seem important (like client closed the
socket). If you can shoot me the error message I can look at how I
might make this optional.
What worked? I don’t have a custom mongrel.conf but I get the same error
(Ubuntu Server 6.06).
“Aaron K.” [email protected] wrote in
message
news:[email protected]…
On 6/30/06, Zed S. [email protected]
wrote:
I just installed and checked it, but could you shoot me your
mongrel.conf off list so i can look? Might be something related to some
merging wizardry I was doing.
catalog1# mongrel_rails start -C config/mongrel.conf
** Loading settings from config/mongrel.conf (they override command
line).
** Starting Mongrel listening at 69.25.136.52:80
** Loading additional MIME types from config/mime.types
/usr/local/lib/ruby/gems/1.8/gems/mongrel-0.3.13.3/lib/mongrel.rb:666:in register': undefined methodresolve’ for nil:Mongrel::URIClassifier
(NoMethodError)
from
/usr/local/lib/ruby/gems/1.8/gems/mongrel-0.3.13.3/lib/mongrel.rb:850:in uri' from /usr/local/lib/ruby/gems/1.8/gems/mongrel-0.3.13.3/lib/mongrel.rb:1018:indebug’
from
/usr/local/lib/ruby/gems/1.8/gems/mongrel-0.3.13.3/lib/mongrel.rb:1016:in debug' from /usr/local/lib/ruby/gems/1.8/gems/mongrel-0.3.13.3/bin/mongrel_rails:108:incloaker_’
from
/usr/local/lib/ruby/gems/1.8/gems/mongrel-0.3.13.3/lib/mongrel.rb:832:in listener' from /usr/local/lib/ruby/gems/1.8/gems/mongrel-0.3.13.3/bin/mongrel_rails:96:incloaker_’
from
/usr/local/lib/ruby/gems/1.8/gems/mongrel-0.3.13.3/lib/mongrel.rb:750:in initialize' from /usr/local/lib/ruby/gems/1.8/gems/mongrel-0.3.13.3/bin/mongrel_rails:83:inrun’
from
/usr/local/lib/ruby/gems/1.8/gems/mongrel-0.3.13.3/lib/mongrel/command.rb:199:in
`run’
from
/usr/local/lib/ruby/gems/1.8/gems/mongrel-0.3.13.3/bin/mongrel_rails:235
from /usr/local/bin/mongrel_rails:18
I’ve had the same problem on a clean debian installation.
‘gem install mongrel’ showed some messages make wasn’t installed,
however the installation seemed succesfull. I assumed compiling from
source was just optional then.
However it will then fail with the above messages. So just install the
make tools and reinstall the gem and the errors will go away.
This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.