When running bundle exec rake assets:precompile
on my dev machine I get a rake aborted error:
cannot load such file -- rack/google_analytics
This is in my gemfile in the production group so isn't installed on my dev machine:
group :production do
gem 'rack-google_analytics', :require => "rack/google_analytics"
end
Any ideas how to fix this? I am running rake 0.9.2.2 and Rails 3.2.1. If required, I can provide more info.