【发布时间】:2017-05-23 21:25:26
【问题描述】:
我是 Heroku 的新手,并且一直遵循 Getting Started guide 的信函。但是,当我使用 git push heroku master 部署我的应用程序时,它开始构建应用程序并在尝试预编译资产后停止,并出现以下错误:
remote: Running: rake assets:precompile
remote: rake aborted!
remote: LoadError: Could not load the 'listen' gem. Add `gem 'listen'` to the development group of your Gemfile
remote: /tmp/build_78073b13aac28e116288169779278ade/vendor/bundle/ruby/2.4.0/gems/activesupport-5.0.2/lib/active_support/dependencies.rb:293:in `require'
我已在我的 Gemfile 中验证 gem 实际上位于开发组内,并尝试将 gem 'listen' 移到开发范围之外 as per answers on related questions 但问题仍然存在。
【问题讨论】: