[Mongrel] [ANN] fastthread 1.0

hemant gethemant at gmail.com
Wed Mar 21 00:39:32 EDT 2007


On 3/21/07, MenTaLguY <mental at rydia.net> wrote:
> On Tue, 2007-03-20 at 17:45 +0530, hemant wrote:
> > With a freshly created plain vanilla rails app with no
> > code/controller/model added, when i attempt to start it, i get:
> >
> > ** Starting Mongrel listening at 0.0.0.0:3000
> > ** Starting Rails with development environment...
> > /usr/lib/ruby/gems/1.8/gems/activesupport-1.4.2/lib/active_support/dependencies.rb:477:in
> > `const_missing': uninitialized constant
> > ActiveRecord::ConnectionAdapters::TwelveByteKey::Mutex (NameError)
>
> > This is when, I have ruby 1.8.6 installed and fastthread gem version
> > 1.0 is also installed. Any ideas why is this?
>
> Are you requiring thread or fastthread?  The problem is that ::Mutex is
> not defined, which suggests that thread/fastthread has not been loaded
> yet.
>


Well, yes Mutex constant is not defined, but i wonder why?  As far my
code is concerned, i am not doing a explicit require on either thread
or fastthread. I guess its mongrel, which would do a require 'thread'.


-- 
gnufied


More information about the Mongrel-users mailing list