当我的dev的机器上运行bundle exec rake assets:precompile
我得到一个耙子中止错误:耙子中止!当本地预编译资产
cannot load such file -- rack/google_analytics
这是我这样是不是我的dev的机器上安装了生产组中的Gemfile:
group :production do
gem 'rack-google_analytics', :require => "rack/google_analytics"
end
任何想法如何解决这个问题?我正在运行rake 0.9.2.2和Rails 3.2.1。如果需要,我可以提供更多信息。
不知道你是否已经看到了这个? http://support.microsoft.com/kb/8020852/rails-3-1-1-deploy-to-heroku-failing –