[Nitro] Og NameError

Matthew B Gardner weather at speakeasy.net
Wed Dec 26 00:58:06 EST 2007


Hello --
	I don't know if this still belongs here or should be sent to the Ogden list, 
but here goes:

In my standalone application, these lines:

require "rubygems"
require "og"

are producing:

/usr/lib/ruby/gems/1.8/gems/og-0.50.0/lib/og/validation.rb:4: uninitialized 
constant Og (NameError)
        from /usr/local/lib/site_ruby/1.8/rubygems/custom_require.rb:27:in 
`require'
        from /usr/lib/ruby/gems/1.8/gems/og-0.50.0/lib/og/main.rb:14
        from /usr/local/lib/site_ruby/1.8/rubygems/custom_require.rb:27:in 
`require'
        from /usr/lib/ruby/gems/1.8/gems/og-0.50.0/lib/og.rb:1
        from /usr/local/lib/site_ruby/1.8/rubygems/custom_require.rb:32:in 
`require'


In my nitro program, these lines don't have a problem and the application runs 
as expected:

require "rubygems"
require "nitro"; include Nitro
require "og"


This problem didn't exist as of a few weeks ago, likely before I installed 
Nitro and its dependencies via darcs.

Thanks for any help,
Matt


More information about the Nitro-general mailing list