Displaying 20 results from an estimated 2000 matches similar to: "GemPlugin or Mongrel::HttpHandler subclass"
2006 Dec 21
1
dealing with multipart forms in a Mongrel::HttpHandler
Hi everyone,
Is there an easy way to parse multipart form requests from within a
Mongrel::HttpHandler subclass or do I need to break out RFC 2388 and a bunch
of regexps?
Thanks,
Mark
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://rubyforge.org/pipermail/mongrel-users/attachments/20061221/9e756aa8/attachment.html
2007 Mar 13
18
Daemonizing a camping server
I''m having no luck trying to daemonize mongrel running a camping server.
When mongrel daemonizes, I get:
/usr/lib/ruby/gems/1.8/gems/mongrel-1.0.1/lib/mongrel.rb:723:in
`accept'': closed stream (IOError)
from
/usr/lib/ruby/gems/1.8/gems/mongrel-1.0.1/lib/mongrel/configurator.rb:293:in
`join''
...
(This was after I disabled the unhandled exception catchall in the
2008 Mar 13
4
Merb in production with God/Monit
Hey All,
I just wanted to get other peoples take on problems when running merb
in production? Just as Rails used to do, the mongrels tend to get
heavy/unresponsive over time so need a good kicking by a watcher
daemon like god or monit. However, I have had serious problems getting
God to restart the process, as the "merb -k <port>" command doesnt
appear to work reliably
2006 Nov 26
2
Writing a mod_put HttpHandler
I''m looking at writing a Mongrel handler that mimics the behavior of
the Apache mod_put [1]. It allows for the streaming upload of very
large (GB) files; it also supports resumable upload.
Before I get too involved, I''d like to ask if my reading of the
mongrel source code is correct, i.e. what I want to do isn''t
currently possible.
Looking at the class
2008 Jun 03
9
clients hang on large PUTs to Mongrel::HttpHandler-based web service
Hi folks,
I have a problem with a storage web service our group wrote using
Mongrel::HttpHandler We have a consistent problem when using
http PUT to this service when the data is larger than about 4 GB.
The web service actually retrieves and processes the data, but the
clients hang - the TCP connection is still in the ESTABLISHED
state on the client side, but the TCP session no longer exists on
2008 Jan 02
1
Deploying merb as a windows service
Hey All
I was just wondering if anyone had tried deploying merb as a windows
service? I am familiar with the sc.exe tool ( http://support.microsoft.com/kb/251192
) - do you think adding the correct paths and such to the merb bin
will work? I am going to try this tomorrow but wondered what peoples
thoughts were?
Many thanks
Tim
2006 May 24
8
Rails, Ubuntu dapper & Mongrel > uninitialized constant Mongrel::HttpHandler error
This on Ubuntu testing with the default ruby1.8 package, RubyForge current
gems, mongrel...this look familiar to anyone??
andre@andre:~/rails_apps/depot$ mongrel_rails
/usr/lib/ruby/gems/1.8/gems/mongrel-0.3.13/lib/mongrel/rails.rb:44:
uninitialized constant Mongrel::HttpHandler (NameError)
from /usr/local/lib/site_ruby/1.8/rubygems/custom_require.rb:21:in
`require''
from
2006 Mar 06
0
Mongrel 0.3.9 -- GemPlugin Based
Hello everyone,
Mongrel now has plugins that are based entirely on RubyGems. This feature
was so slick that I decided to bust it out into a separate project called
GemPlugin (more on that later). What the new plugin system does is makes it
so that people can distribute Mongrel plugins as just plain gems, and
mongrel will load them on the fly if people install them. There''s no
2006 Jun 13
1
mongrel_upload_progress & plugin question in general
Hello,
So, I grabbed the mongrel_upload_progress code from subversion
because I really need something similar for a project I am working
on. Anyway, I installed the gem and can''t figure out a few things.
1) I''m not sure what Upload < GemPlugin::Plugin "/handlers" is for
2) How to call the Progress < GemPlugin::Plugin "/handlers" handler.
While I
2012 Jun 08
2
rubycas-server login fail
Hi all,
I''ve installed Puppet Enterprise 2.5 on Ubuntu 10.04.4 ("minimal" version
on our new hosting provider, previous on amazon ec2 all works fine). So
couldn''t login to puppet dashboard - internal server error. I found problem
in rubycas-server. It fails when try to hash password:
(/opt/puppet/share/rubycas-server/lib/casserver/authenticators/sql_encrypted.rb)
2006 Mar 06
5
Mongrel 0.3.9 -- GemPlugin Based
Hello everyone,
Mongrel now has plugins that are based entirely on RubyGems. This feature
was so slick that I decided to bust it out into a separate project called
GemPlugin (more on that later). What the new plugin system does is makes it
so that people can distribute Mongrel plugins as just plain gems, and
mongrel will load them on the fly if people install them. There''s no
2009 Nov 11
4
host_with_port in config/environment.rb
Hello everyone... i''m Italian, sorry for my poor English, but I find
myself in difficulties with this method.I don''t need to redirect the
logout of rubycas in a host other than localhost... when the decoy in
"config/environment.rb" of course tells me ''method ''host_with_port''
undefined''... I looked in the folder of ruby and i saw that
2007 Nov 20
4
Win32 service question
Hi All,
First, I''m new to the list, so I''d like to say hello to all fellow
mongrelists :)
Second, I''d like to ask you if there''s any way to make a simple mongrel
script run multithreaded?
No rails, just plain old
class MyHandler < Mongrel::HttpHandler
.
.
.
h = Mongrel::HttpServer.new("127.0.0.1", "80")
stuff.
Since win32 lacks fork,
2006 Aug 25
2
really a GemPlugin/mongrel_cluster question
Hi folks,
I''d like to run the Mongrel prerelease (0.3.13.4 prerelease) and
mongrel_cluster 0.2.1 on my shared host (which doesn''t want to
install prerelease software for all to use). I can install the gems
in my own directory, and run mongrel 0.3.13.4 with --prefix just
fine. However, I think due to the GemPlugin structure, even my new
mongrel_rails loads up
2006 Mar 29
0
mongrel gemplugin name error
Hi,
Deploying in production on a server (debian sarge + ruby1.8.4)
I got some problems:
> mongrel_rails start -q
/usr/lib/ruby/gems/1.8/gems/mongrel-0.3.11/bin/mongrel_rails:6:
uninitialized constant GemPlugin (NameError)
from /usr/bin/mongrel_rails:18
gem_plugin is installed though. Mongrel 0.3.11. Rails 1.1.
Any idea?
--
Jean-Christophe Michel
2007 Nov 09
0
starting/stopping/registering Mongrel for HttpHandler
Hi.
I am currently learning Ruby and writing an app that simply uses
Mongrel''s HttpHandler class to create simple ruby servlets. At the end
I have been using code similar to the example in simpletest.rb:
h = Mongrel::HttpServer.new("0.0.0.0", "3000")
h.register("/test", SimpleHandler.new)
#h.register("/files",
2006 Jun 14
0
uninitialized constant Mongrel::HttpHandler (NameError)
I am trying to get a basic apache 2.0.55 + mongrel + rails app configuration setup and i keep getting this:
# mongrel_rails
/usr/local/lib/ruby/gems/1.8/gems/mongrel-0.3.12.4/lib/mongrel/rails.rb:28: uninitialized constant Mongrel::HttpHandler (NameError)
from /usr/local/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:21:in `require''
from
2006 Dec 21
0
unitinialized constant Mongrel::HttpHandler (NameError)
Using RailsLive CD (PCLinuxOS) installed to HD.
''gem install mongrel'' reported:
Successfully installed mongrel-0.3.13.4.
though there is one error:
make: ***
[/usr/lib/ruby/gems/1.8/gems/mongrel-0.3.13.4/lib/http11.so] Error 127
Google is no help for this one as the only reference to this error I
could find suggested it might be solved by installing libc, for which I
2006 Oct 22
7
GzipFilter gemplugin now available
This GemPlugin will gzip your HTTP responses from mongrel if the
client says that it supports it (eg, most modern browsers). I''ve
tested it in IE6, Firefox 1.5 and Firefox 2.0RC3
Install:
gem install gzip_filter --source http://edenli.com
Configure (assuming rails):
cd RAILS_ROOT
echo ''uri "/", :handler => plugin("/handlers/gzipfilter")''
2006 Aug 24
3
Mousehole stuff
Hey everyone,
I''m using mousehole for the first time today (love the artwork, btw) and I
seem to be having problems with Camping and Markaby. When I go to the Apps
page I get:
Camping Problem! MouseHole::Controllers::RApps.GET TypeError
/Users/tzaharia/Sites/mouseHole/lib/mouseHole/views.rb:78:in `+'': can''t
convert String into Array:bla bla bla...
The line in question