[Nitro] Preparing nitro 0.50

Reid Thompson Reid.Thompson at ateb.com
Fri Aug 10 10:47:33 EDT 2007


On Fri, 2007-08-10 at 15:37 +0100, Rui Miguel wrote:
> Care to share you app.rb?
> 
> All is working @ this side. Did you change anything in the default  
> example?
> 
> Greets,
> Rui Miguel
> 
> On Aug 10, 2007, at Aug 10 - 14:32, Reid Thompson wrote:
> 
> >
> >>>> Check this http://www.arnebrasseur.net/2007/07/01/the-daily- 
> >>>> nitro/en/
> >>>>
> >
> >> Regarding that article, if you have any issues (or suggestions)  
> >> with it
> >> please report so I can improve it.
> >>
> >
> > rthompso at jhereg: ~/src/repo.nitroproject.org/examples/blog$ env| 
> > grep RUBY
> > RUBYOPT=-r/home/rthompso/src/repo.nitroproject.org//script/lib/ 
> > glycerin -rubygems
> >
> > rthompso at jhereg: ~/src/repo.nitroproject.org/examples/blog$ env| 
> > grep NITRO
> > NITRO_REPO=/home/rthompso/src/repo.nitroproject.org/
> >
> >
> > rthompso at jhereg: ~/src/repo.nitroproject.org/examples/blog$ ./app.rb
> > /home/rthompso/src/repo.nitroproject.org/script/lib/../../raw/lib/ 
> > raw/view/table.rb:5: uninitialized constant Raw (NameError)
> >         from /usr/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb: 
> > 27:in `gem_original_require'
> >         from /usr/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb: 
> > 27:in `require'
> >         from /home/rthompso/src/repo.nitroproject.org/script/ 
> > lib/../../nitro/lib/nitro/part/admin/controller.rb:4
> >         from /usr/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb: 
> > 27:in `gem_original_require'
> >         from /usr/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb: 
> > 27:in `require'
> >         from /home/rthompso/src/repo.nitroproject.org/script/ 
> > lib/../../nitro/lib/nitro/part/admin.rb:3
> >         from /usr/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb: 
> > 27:in `gem_original_require'
> >         from /usr/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb: 
> > 27:in `require'
> >         from ./app.rb:8
> > _______________________________________________
> > Nitro-general mailing list
> > Nitro-general at rubyforge.org
> > http://rubyforge.org/mailman/listinfo/nitro-general
> 


rthompso at jhereg: ~/src/repo.nitroproject.org$ darcs whatsnew
{
hunk ./examples/blog/app.rb 5
-require "nitro_and_og"; include Nitro
+require '/home/rthompso/src/repo.nitroproject.org/script/lib/glycerin'
+#require "nitro_and_og"; include Nitro
hunk ./examples/blog/conf/debug.rb 2
-  Raw::Caching.enabled = false $
-  Raw::Template.strip_xml_comments = false $
+  Raw::Caching.enabled = false
+  Raw::Template.strip_xml_comments = false
hunk ./examples/blog/conf/debug.rb 10
-  Og.create_schema = true $
+  Og.create_schema = true
hunk ./examples/blog/conf/debug.rb 15
-    :adapter => :mysql,
-    :user => "root",
-    :password => ENV["DB_PASSWORD"], # SET your password here!
-    :evolve_schema => :full $
+    :adapter => :postgresql,
+    :user => "rthompso",
+    :password => "",
+    :evolve_schema => :full
hunk ./examples/blog/conf/debug.rb 39
-  $
+
hunk ./examples/blog/conf/debug.rb 44
-  $
+
}
rthompso at jhereg: ~/src/repo.nitroproject.org$ 


More information about the Nitro-general mailing list