[Nitro] Trouble With Examples

George Moschovitis george.moschovitis at gmail.com
Tue Mar 22 05:28:17 EST 2005


Hello Dan,

thanks for trying out Nitro. I made a mistake and released the blog example
with Og.create_schema = false. Please change this to 

Og.create_schema = true

This resides in the file run.rb

-g.


On Mon, 21 Mar 2005 20:11:02 -0600, Dan Yoder <dan at zeraweb.com> wrote:
> The blog example is giving me the following error:
>   INFO: Connecting to database 'blog' using the 'mysql' adapter.
> /usr/local/lib/ruby/gems/1.8/gems/og-0.13.0/lib/og/adapter.rb:33:in
> `for_name': (eval):1:in `for_name': uninitialized constant
> Og::Adapter::MysqlAdapter (NameError)
>          from
> /usr/local/lib/ruby/gems/1.8/gems/og-0.13.0/lib/og/database.rb:66:in
> `eval'
>          from
> /usr/local/lib/ruby/gems/1.8/gems/og-0.13.0/lib/og/adapter.rb:33:in
> `for_name'
>          from
> /usr/local/lib/ruby/gems/1.8/gems/og-0.13.0/lib/og/database.rb:66:in
> `initialize'
>          from run.rb:20:in `new'
>          from run.rb:20
> The MysqlAdapter file and class definition are there and the require
> statement on the line before the error succeeds, so I am not sure what
> the problem is ...
> 
> Please help!
> 
> _______________________________________________
> Nitro-general mailing list
> Nitro-general at rubyforge.org
> http://rubyforge.org/mailman/listinfo/nitro-general
> 


-- 
http://nitro.rubyforge.org
http://www.joy.gr



More information about the Nitro-general mailing list