[Nitro] conf rb file required with new Nitro?

Arne Brasseur arne at arnebrasseur.net
Wed Nov 7 01:15:53 EST 2007


Robert Mela schreef:
> A conf/debug.rb file is now required for even the simplest app?
>
> Is that an intentional decision?
I also noticed this. Another thing I noticed is that Nitro::LibPath is 
no longer set correctly because nitro.rb moved up a level in the file 
tree. Because of this nitro --create myapp doesn't work. The patch fixes 
this.
>
> /opt/local/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:27:in 
> `gem_original_require': no such file to load -- 
> /Users/rmela/projects/og/conf/debug (LoadError)
>        from 
> /opt/local/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:27:in 
> `require'
>        from 
> /Users/rmela/nitro/branch/script/lib/../../nitro/lib/nitro/application.rb:169:in 
> `read_configuration_file'
>        from 
> /Users/rmela/nitro/branch/script/lib/../../nitro/lib/nitro/application.rb:208:in 
> `configure'
>        from 
> /Users/rmela/nitro/branch/script/lib/../../nitro/lib/nitro/application.rb:105:in 
> `start'
>        from hello.rb:28
>
> _______________________________________________
> Nitro-general mailing list
> Nitro-general at rubyforge.org
> http://rubyforge.org/mailman/listinfo/nitro-general


-- 
Arne Brasseur
http://www.arnebrasseur.net
http://www.zhongwiki.com
http://www.bankske.org
arne at arnebrasseur.net

-------------- next part --------------
A non-text attachment was scrubbed...
Name: ab_20071104_libpath.patch
Type: text/x-patch
Size: 1620 bytes
Desc: not available
Url : http://rubyforge.org/pipermail/nitro-general/attachments/20071107/6fc7fff2/attachment.bin 


More information about the Nitro-general mailing list