ruby on rails - Rake aborted! when locally Precompiling Assets -
when running bundle exec rake assets:precompile
on dev machine rake aborted error:
cannot load such file -- rack/google_analytics
this in gemfile in production group isn't installed on dev machine:
group :production gem 'rack-google_analytics', :require => "rack/google_analytics" end
any ideas how fix this? running rake 0.9.2.2 , rails 3.2.1. if required, can provide more info.
when changed following value true false (in config/environments/production.rb), rid of above error
config.assets.compile = true
Comments
Post a Comment