Forums | Admin

Discussion Forums: help

Start New Thread Start New Thread

 

By: Mikko Levonmaa
RE: ...dependencies.rb:100:in `const_missing' [ reply ]  
2007-01-16 15:22
When running from webrick it all seems to work... so could this mean that my lighty is misconfigured - but how?

By: Mikko Levonmaa
...dependencies.rb:100:in `const_missing' [ reply ]  
2007-01-16 14:20
I'm getting the following traces:

ActionView::TemplateError (uninitialized constant TrackerHelper::Gruff)
.
.
.
.
/usr/lib/ruby/gems/1.8/gems/activesupport-1.3.1/lib/active_support/dependencies.rb:100:in `const_missing'

I'm running this on a debian sarge server and I have done the installation via apt-get and through gems.

I have seen people with the same error but what I think that distinguishes this from the others is that I can use gruff from irb and from teh console under the webapp, but not when it is used from a browser.

The piece of code that uses gruff is in a *_helper.rb file. If I take take the same code and use it in a model from teh webapp console it works.

I can also create graphs with the demo script (my_fruity_graph.png) found in the gruff home page.

Basically I "think" that the installation, atleast partly, is correct, but other then that I'm out of ideas on where this is going wrong - any suggestion would be greatly appreciated. Also the same code is working on my mac os x.

br,
Mikko