Displaying 20 results from an estimated 6000 matches similar to: "unitinialized constant Mongrel::HttpHandler (NameError)"
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 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 Oct 15
4
Mongrel on CentOS 4.3 / RHEL 4.3 64Bit
I tried to install Rails + Mongrel on CentOS4.3 64Bit (my provider only
has the 64 Bit version available).
I found out, that I have to install gcc and emacs-common and have to
copy the *.h files of the ruby source into a certain directory (see below).
But finally I get an error messag when I start mongrel and I have no
idea how to solve that problem:
wget
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 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 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 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 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 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 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.
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
2009 Sep 10
2
cannot start mongrel after Snow Leopard upgrade : Wrong Architecture !!!
(MacBook Core 2 Duo.. but 32-bits kernel... upgraded to SL)
Rails 2.3.4 / Ruby 1.8.7
fine with Webrick
Booting WEBrick
=> Rails 2.3.4 application starting on http://0.0.0.0:3000
but trying to start Mongrel ( btw should be the default in dev mode
when installed ?)
mongrel_rails start -d
/usr/local/lib/ruby/gems/1.8/gems/mongrel-1.1.5/bin/../lib/
http11.bundle:
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 02
3
''NameError: uninitialized constant <MyEntity>'' in console
When I create a new model entity, and try to access it from the Rails
console I get the error:
>> b = Bar.new(:name => ''Some Bar'')
NameError: uninitialized constant Bar
from (irb):1
from :0
(My model class is called Bar, and is in file app/models/bar.rb)
So, I try to load the model class file, and I run into a more frigtening
error:
>> load
2006 Nov 06
1
NameError uninitialized constant Ferret::Index::FieldInfos
Hi Everyone,
I''ve a RoR application. I am trying to build full text search capability
into it. I installed Ferret. After that I installed the act_as_ferret
plugin. I''ve also put the acts_as_ferret inside the <model>.rb file .
I''m using the find_by_contents to get the search results.
I''m getting the following error. I''ve no clue and I
2006 Feb 07
1
AWDWR: NameError (uninitialized constant UnknownAction) in rescue_action_in_public
I copied (and modified) this code from AWDWR:
def rescue_action_in_public(exception)
case exception
when ActiveRecord::RecordNotFound,
ActionController::UnknownAction
render :template=>''/error'', :layout=>''application'',
:status=>''404 Not Found''
else
render :template=>''/error'',
2006 Jan 31
2
NameError/Unitialized Constant With PayPal Gem
I am trying to use the PayPal gem and having a little trouble.
I installed the gem w/o any trouble:
paypal (1.0.1)
Paypal IPN integration library for rails and other web applications
When I try to use it in my controller, as follows:
def paypal_ipn
notify = Paypal::Notification.new(request.raw_post)
...
end
I get a NameError:
uninitialized constant Paypal
This error occured
2009 Apr 15
1
uninitialized constant ActiveSupport::Dependencies::Mutex (NameError)
I''m on debian etch w/ ruby1.8, activesupport-2.3.2, getting this on the
first line of code which is require ''active_support'' :
/var/lib/gems/1.8/gems/activesupport-2.3.2/lib/active_support/dependencies.rb:55:
uninitialized constant ActiveSupport::Dependencies::Mutex (NameError)
from /usr/lib/ruby/1.8/rubygems/custom_require.rb:27:in
`gem_original_require''
2009 Mar 18
1
uninitialized constant ActionController::AbstractRequest (NameError) with rails 2.3
Hi guys,
I''ve just installed Rails 2.3 and I am using the clearance plugin
with cucumber features. When I run rake features I get this
"uninitialized constant ActionController::AbstractRequest (NameError)"
error from webrat trying to call AbstractRequest which now is called
Request (I think). My question is : Is there any way to alias the old
name to have backwards
2011 May 17
1
uninitialized constant Delayed::Job (NameError)
hi I am implementing delayed_job in my rails app.
*my code is:*
file name is: my_worker.rb
require "delayed_job"
require "rubygems"
class MyClass
def perform
while true do
puts "I am in My class!!!"
sleep 2
end
end
end
Delayed::Job.enqueue( MyClass.new )
#m.perform
when i am executing this(ruby my_worker.rb ) file it gives me error