R – Problem installing googlecharts gem

installationrubyruby-on-railsrubygems

I am trying to use the googlecharts gem to create some quick charts. Here are the rubyforge and github sites:

http://googlecharts.rubyforge.org/
http://github.com/mattetti/googlecharts/tree/master

After installing, I keep getting an error saying "no such file to load — googlecharts" even though when I do a "gem list", the gem is listed. I have restarted my server. Anyone know what could be going on here?

Thanks!

Best Solution

According to the docs, you need to

require 'gchart'

but it sounds like you might be doing

require 'googlecharts'

instead.