On 11/11/05, GJB <gjblomquist / hotmail.com> wrote:
> There are couple of minor errors in your "Ruport, MySQL and Windows"
> directions:
>
> 1. In Step 4, the config command should be: "ruby setup.rb config
> -with=dbi,dbd_mysql".  Note the space between config and --with.
>
> 2. In Step 5, you forgot " require 'DBI' ".
>
> 3. In Step 6, "gem install ruport ruport -v" should be two separate
> commands not one.

Thanks.  I'll fix these errors just as soon as I round out the next
set of hacks on Ruport.
(I'm at the office right now, implementing DataSet#diff ).  I'll fix
these before I leave tonight.

> I got the following error on executing "ruport templates/test.rb":
>
> c:/tools/ruby/lib/ruby/gems/1.8/gems/ruport-0.2.2/lib/ruport/report/engine.rb:116:in
> `eval_report': c:/tools/ruby/lib/ruby/site_ruby
> /1.8/dbi/dbi.rb:510:in `parse_url': Invalid Data Source Name

Sounds like you didn't set up config/ruport.yaml or that something is
wrong with it.
You can put it up on the list or email it to me and I can take a look at it.