I've been trying to use Geoffrey Grosenbach's excellent Gruff package,
however, I'm unable to make it work on OS X Tiger 10.4.3 although ruby
and rails seem to be running fine.  I got Typo running with MySQL on
FCGI on the Powerbook using Tony Arnold's installer, and running
fixrbconfig, so I believe my install to be sound. I also installed
rmagick and Imagemagick through selfupdated darwinports.  I'm a total
ruby, rails, and OS X n00b.  So, forgive me if this isn't the
appropriate venue for this email.



So, when I run this script (which works on RHEL4)



http://involution.com/browsershare.rb.txt



I get this error on OS X:



/usr/lib/ruby/gems/1.8/gems/gruff-0.0.5/lib/gruff/area.rb:8:
uninitialized constant Gruff (NameError)
        from
/usr/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:18:in
`require__'
        from
/usr/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:18:in `require'

        from /usr/lib/ruby/gems/1.8/gems/gruff-0.0.5/lib/gruff.rb:4

        from
/usr/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:18:in
`require__'
        from
/usr/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:18:in `require'

        from /usr/lib/ruby/site_ruby/1.8/rubygems.rb:175:in `activate'

        from
/usr/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:23:in `require'

        from browsershare.rb:9



On RHEL4, I get this perty graph:



http://involution.com/images/browsershare.png



I was thinking that maybe somehow gruff couldn't find base, but that
appears to not be the case as I tried adding one of there:




begin

  require 'gruff/base'

rescue LoadError

  puts "could not find gruff/base"

end



And I don't see the puts message on the terminal, still the error.


I know this is probably some very stupid that's happening, but since
I'm such a ruby n00b, I can't figure it out.



                                            
Tony