[Nitro] OG and ruby-dbi

Mark Van De Vyver mvyver at gmail.com
Wed Aug 29 00:27:37 EDT 2007


OK.  Apologies in advance for the newbie issues. Here we go....

> The test folder should even be non-existant.  The spec/ folder is the
> new 'home'.  :)
> Do `rake test og` inside the nitro project dir to test the og rspecs.

>From the following it may be that 'systemu' might be a required
package - maybe not?
Anyway, I can't get the rake test og to run.

I've set up as described here:
http://www.arnebrasseur.net/2007/07/01/the-daily-nitro/en/

 # echo ${RUBYOPT}
-r/usr/src/nitro-repo/script/lib/glycerin -rubygems

 #  pushd /usr/src/nitro-repo/
/usr/src/nitro-repo ~
mv-laptop:/usr/src/nitro-repo # rake test og
(in /usr/src/nitro-repo)
Please install systemu for better-looking results
rake aborted!
Don't know how to build task 'test'

(See full trace by running task with --trace)

 # rake --trace test og
(in /usr/src/nitro-repo)
Please install systemu for better-looking results
rake aborted!
Don't know how to build task 'test'
/usr/lib/ruby/gems/1.8/gems/rake-0.7.3/lib/rake.rb:1472:in `[]'
/usr/lib/ruby/gems/1.8/gems/rake-0.7.3/lib/rake.rb:1739:in `top_level'
/usr/lib/ruby/gems/1.8/gems/rake-0.7.3/lib/rake.rb:1739:in `each'
/usr/lib/ruby/gems/1.8/gems/rake-0.7.3/lib/rake.rb:1739:in `top_level'
/usr/lib/ruby/gems/1.8/gems/rake-0.7.3/lib/rake.rb:1761:in
`standard_exception_handling'
/usr/lib/ruby/gems/1.8/gems/rake-0.7.3/lib/rake.rb:1733:in `top_level'
/usr/lib/ruby/gems/1.8/gems/rake-0.7.3/lib/rake.rb:1711:in `run'
/usr/lib/ruby/gems/1.8/gems/rake-0.7.3/lib/rake.rb:1761:in
`standard_exception_handling'
/usr/lib/ruby/gems/1.8/gems/rake-0.7.3/lib/rake.rb:1708:in `run'
/usr/lib/ruby/gems/1.8/gems/rake-0.7.3/bin/rake:7
/usr/bin/rake:16:in `load'
/usr/bin/rake:16


Cheers
MV

> > I'll be looking at how other projects have used DBI (and have already
> > seen some tips), but I'd appreciate an opportunity to ask
> > questions/get advice.
>
> Sure, I'll sure try to help if you run into troubles implementing that.
> Don't hesitate to ask.  :)
>
> > A couple of questions.
> > Which is the most active/preferred communication forum, the mail-list
> > or the freenode irc channel? (I'm in Sydney,Oz so that might rule irc
> > out, but I have ome flexibility in my work hours)
>
> Both?  If I'm present on IRC, this might be faster and thus preferred,
> but the ML is good of course.  :)
> I'm 'Kashia' or 'Jo[work]' on IRC btw.
>
> > Any objections/gotchas to using R-spec to do the specs/BDD with OG?
>
> Just have a look inside one or two other specs for og, it's quite easy
> to use.  Though, some specs are still failing, haven't gotten around to
> fix all of them yet.
>
> > I'd appreciate any assistance/advice :)
>
> Like I said, as a startingpoint I'd see the oracle/psql adapters.  I
> would love the specs to be fixed... but a well.  If you could run it
> once with mysql/psql and see what fails there, you should still be
> able to use the testsuite for validation purposes.
>
> Jo
>
> --
> Feel the love
> http://pinkjuice.com/pics/ruby.png
>


More information about the Nitro-general mailing list