[Nitro] Trouble With Examples

Dan Yoder dan at zeraweb.com
Mon Mar 21 21:11:02 EST 2005


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!




More information about the Nitro-general mailing list