I added http://gems.github.com to my gem sources, then did a ‘gem list
-r | grep analytics’, which only turned out the
markcatley-google_analytics (1.0.20080720) version.
Following the instructions here
(http://github.com/rubaidh/google_analytics/tree/master#) and using
‘rake gems:install’ tells me that the gem does not exist.
Hmmm. So I tried installing the markcatley version ‘gem install
markcatley-google_analytics’, which goes ok, but when I add 'require
‘rubaidh/google_analytics’ to my application controller and then
‘Rubaidh::GoogleAnalytics.tracker_id = ‘xxxx’’ to the bottom of
environment.rb I get a 500 Server Error with nothing in my development
How exactly am I supposed to use this gem? I can’t find any information
anywhere which works, though if there is then please tell me where.
Alternatively how am I supposed to install it as a plugin? All the
sources I can find on the net to pass to script/plugin install seem to