Fernando,
What version of Rails are you using? What OS are you on? Do you know
if you were successfully able to install ImageMagick and all its
dependencies, and RMagick? It doesn''t make sense to have an error in
stacked_bar if you are creating a line graph. Also, did you include
''require ''gruff'''' in your environment.rb?
Shane Vitarana
http://shanesbrain.net
On 7/21/06, Fernando <fernando@setti.com.br>
wrote:> Well, I''m trying to generate graphs using gruff,
> but I''m having problemns.
>
> I use, require_gem ''gruff''
>
> then when I run g = Gruff::Line.new(475)
> I get uninitialized constant Gruff
>
> /////
>
c:/ruby/lib/ruby/gems/1.8/gems/activesupport-1.3.1/lib/active_support/dependencies.rb:100:in
> `const_missing''
>
c:/ruby/lib/ruby/gems/1.8/gems/activesupport-1.3.1/lib/active_support/dependencies.rb:13
> ...........
> ..........
>
> This error occured while loading the following files:
> gruff.rb
> c:/ruby/lib/ruby/gems/1.8/gems/gruff-0.1.2/lib/gruff/stacked_bar
>
> I don''t know what to do... please someone help me
>
> --
> Posted via http://www.ruby-forum.com/.
> _______________________________________________
> Rails mailing list
> Rails@lists.rubyonrails.org
> http://lists.rubyonrails.org/mailman/listinfo/rails
>