[Nitro] uninitialized constant Module::Dispatcher

George Moschovitis george.moschovitis at gmail.com
Mon May 28 12:50:09 EDT 2007


try to add the following command at the top of app.rb:

include Nitro

and let me know if this fixes your problem. (This is btw a known problem
with the repo version).

welcome to our community,
George.


On 5/28/07, Arne Brasseur <arne at arnebrasseur.net> wrote:
>
> Hello nitro folks,
>
> I've been looking at Nitro lately and I must say I like what I've seen
> so far. I downloaded the latest darcs version of both nitro and facets,
> and when I try to start my app it says:
>
> /home/plexus/work/nitro_og/nitro/lib/nitro.rb:72:in `start':
> uninitialized constant Module::Dispatcher (NameError)
>         from ./run.rb:31
>
> Looking at nitro.rb the outline is along the lines of
>
> module Nitro
>     include Raw #this contains Dispatcher
>
>     class <<self
>        def start(controller)
>           ...
>           @application.dispatcher = Dispatcher.new(controller) #looks
> for Module::Dispatcher in stead of Raw::Dispatcher
>           ...
>        end
>     end
> end
>
> I'm running ruby 1.8.4.
>
> Any help on how to resolve this would be very appreciated.
>
> Arne
>
> --
> Arne Brasseur @ your service
> arne at arnebrasseur.net
> +32/496/94.55.63
>
> _______________________________________________
> Nitro-general mailing list
> Nitro-general at rubyforge.org
> http://rubyforge.org/mailman/listinfo/nitro-general
>



-- 
http://georgeandstella.com
http://blog.gmosx.com
http://cull.gr
http://www.joy.gr
http://nitroproject.org
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://rubyforge.org/pipermail/nitro-general/attachments/20070528/91929a2b/attachment.html 


More information about the Nitro-general mailing list