[Nitro] Problem with Nitro In Flames tutorial

Chris Farmiloe chris at motionpath.com
Thu Dec 22 16:17:36 EST 2005


in your run.rb file, somewhere (after require 'nitro') do

include Nitro

I'll add the correct scope on the call in admin, but i think it is  
handy/common to include the main nitro module in your projects anyway
since you probably dont want to be prefixing everything with Nitro::

chrisfarms


On 22 Dec 2005, at 19:58, Jos Backus wrote:


> http://www.nitrohq.com/view/Tutorials%3ANitro_In_Flames%3AChapter2
>
> First I fixed the Timestamped mixin not working. Now I see:
>
> E, [2005-12-22T11:52:22.736477 #24193] ERROR -- : Error while handling
> '/admin/stylesheet/system'.
> E, [2005-12-22T11:52:22.737191 #24193] ERROR -- : uninitialized  
> constant
> AdminController::Server
>   /usr/local/lib/ruby/gems/1.8/gems/nitro-0.26.0/lib/../src/part/ 
> admin/controller.rb:54:in
>   `stylesheet'
>     (eval):12:in `stylesheet_action'
>     etc.
>
> -- 
> Jos Backus
> jos at catnook.com
> _______________________________________________
> Nitro-general mailing list
> Nitro-general at rubyforge.org
> http://rubyforge.org/mailman/listinfo/nitro-general
>





More information about the Nitro-general mailing list