I’m having a problem getting Gruff working with Rails on a Windows XP
I installed RMagick, then Gruff via the win32 gem, and it seemed to go
OK. From irb, I can do the following
- require ‘rubygems’ ##### This returns ‘false’, but seems to work OK
- require ‘gruff’ ####### Ditto
- g = Gruff::Bar.new
etc., and I get a nice PNG file containing my graph
Despite the fact that the two ‘require’ statements are returning
false, Gruff still appears accessible.
Within Rails, it doesn’t seem to work at all. I’ve tried
at the top of a controller, but Rails falls over with
no such file to load – gruff
whenever I access that controller. It looks like Gruff isn’t there,
except that it actually works OK from irb (in spite of not appearing
to be there!!!).
Does anyone have any clue what’s going on here?
Thanks in advance