Displaying 20 results from an estimated 400 matches similar to: "uninitialized constant Mongrel::HttpHandler (NameError)"
2006 Oct 13
4
Broken installation of mongrel 0.3.13.4 on Sun OS 5.9
Hi,
Anyone succeeded in installing Mongrel on Sun Solaris? It looks like the
installation is broken. I have started using Mongrel recently and not sure
where to look when something is missing.
First the file http11.so was not installed in
/usr/local/lib/ruby/gems/1.8/gems/mongrel-0.3.13.4/lib
I''ve resolved that and when tried to start mongrel from the command line I
received the
2006 Jul 03
13
problem starting mongrel
Apologies for the formatting, but this is the error I get when I try to start
up mongrel. The app does work under webrick, so I''m not real sure what''s
going on here. Thanks for any insight into what''s going on.
-j
** Starting Mongrel listening at 0.0.0.0:3000
/usr/lib/ruby/gems/1.8/gems/mongrel-0.3.13.3/lib/mongrel.rb:666:in `register'':
undefined method
2006 Apr 28
4
mongrel error on debian sarge
Hi,
I cannot get mongrel working on i686 debian sarge, whereas it works
quite well on another ppc box under debian unstable.
Instead I can use scgi_rails or webbrick without any problem.
Here is the error:
# mongrel_rails start
/usr/lib/ruby/gems/1.8/gems/mongrel-0.3.12.4/lib/mongrel/rails.rb:28:
uninitialized constant Mongrel::HttpHandler (NameError)
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 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
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
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",
2007 Jul 24
4
GemPlugin or Mongrel::HttpHandler subclass
Hey all
I am working with a technology standard (specific to the commercial
print industry) by which each element within the workflow has bi-
directional HTTP messaging. As each side needs a http server, I
thought I could either:
a) use a gem plugin to modify the behavior of mongrel
b) subclass Mongrel::HttpHandler
In short, its xml messaging between two points; each with a HTTP
client
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
2006 May 24
3
Mongrel install/compile problems on Ubuntu dapper
Installed gcc and make and the default friends that they bring along, then
did
# sudo gem install mongrel
and got the following...
andre at andre:~$ sudo gem install mongrel
Attempting local installation of ''mongrel''
Local gem file not found: mongrel*.gem
Attempting remote installation of ''mongrel''
Select which gem to install for your platform (i486-linux)
1.
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
2006 May 07
1
Installing on OS X
Hi,
I''ve just installed Mongrel 3.12.4 on OS X, and had one little
difficulty: I kept getting an error message saying that HTTPHandler
didn''t exist, maybe it was Mongrel, I don''t remember. Turns out that
there was a lot more missing than that, so it doesn''t really matter.
What was happening is that http11 was not installing and the "require
2006 May 09
1
Warnings during compilation
Hello everyone !
Just wondering if it''s only me or if everyone gets these:
Building native extensions. This could take a while...http11.c: In function `header_done'':http11.c:125: warning: unused variable `host''http11.c:126: warning: unused variable `port''http11.c: At top level:http11.c:26: warning: `global_interface_value'' defined but not used
This is
2006 Jul 20
6
A few minor warnings from Sun Studio 11
These come courtesy of Sun Studio 11 on Solaris 10 in case you care:
"http11.c", line 54: warning: syntax error: empty declaration
"http11.c", line 55: warning: syntax error: empty declaration
"http11.c", line 56: warning: syntax error: empty declaration
"http11.c", line 57: warning: syntax error: empty declaration
"http11.c", line 58:
2008 Apr 24
4
Pure Ruby HTTP parser
Before anything else, let me state this: Of course it''s going to be
PAINFULLY slow on MRI. That''s not the point :)
I thought I''d try out writing out a Ruby version of the parser for the
purposes of Rubinius. For those of you who aren''t aware, Ragel supports a
goto-driven FSM on Rubinius by injecting assembly directly, and Rubinus head
honcho guy Evan Phoenix
2006 Apr 04
3
Mongrel on AIX
Trying to get fcgi and apache to play nicely on AIX has turned nasty, so
I''m switching my hopes to mongrel for a solution. I''ve managed to get
all the gems and dependancies and everything set up, Or think I have.
There were a couple of errors during the install. Listed below.
<code>
gem install mongrel.gem
Attempting local installation of ''mongrel.gem''
2006 Jun 19
1
server crash log
Hi, I''m new to mongrel and so far have liked it a lot during development. I
just tried to stand up a production server following the guide here:
http://blog.innerewut.de/articles/2006/04/21/scaling-rails-with-apache-2-2-mod_proxy_balancer-and-mongrel
This was working well for a few days, until this weekend it crashed with the
following stack trace. It''s running on redhat
2010 Dec 03
1
ERROR: Failed to build gem native extension.
Hello, I am currently not able to instal mongrel, I run a Linux Ubuntu 10.04
system with Gems 1.3.7 when I do a "sudo gem install mongrel" I get this
sequence of messages:
$ sudo gem install mongrel
Building native extensions. This could take a while...
ERROR: Error installing mongrel:
ERROR: Failed to build gem native extension.
/usr/local/bin/ruby extconf.rb checking for main() in
2006 Jun 10
1
mongrel (0.3.12.4) blows up
Hello, I don''t know if this is really relevant anymore because a new
version is about to be released it seems, however I''ve been trying to
run mongrel 0.3.12.4 on a development server in development mode
(simply with mongrel_rails start). I try to access the server and the
first page (static file) loads, but then the server dies and I get
this in the logs.
I''m
2006 Nov 08
0
routing error does not get caught by rescue_action_in_public
I have this in my application controller.
def rescue_action_in_public(exception)
logger.error("rescue_action_in_public executed")
case exception
when ActiveRecord::RecordNotFound,
::ActionController::UnknownAction,
::ActionController::RoutingError
logger.warn("rendering 404 page")
render(:file =>