Ruby Heroku应用程序“Rake Aborted”和“预编译资产失败”所以“推送拒绝,无法编译Ruby App”

时间:2015-01-15 19:18:02

标签: ruby-on-rails ruby git heroku

我从未使用过Ruby,整整一天的谷歌搜索让我仍然陷入困境!一位外包的开发人员刚刚提供了这段代码,并提供了在Heroku上部署的说明 - 然后完全沉默了。

我试图通过Github存储库部署到Heroku。这里似乎是构建输出的潜在相关部分。

如果需要任何其他信息(例如,文件中的代码),请告知我们,我会立即发布。

非常感谢你帮助一个愚蠢的非编码人员。

捆绑安装:

Installing dependencies using 1.6.3
Running: bundle install --without development:test --path vendor/bundle --binstubs vendor/bundle/bin -j4 --deployment
Fetching source index from https://rubygems.org/
....
Your bundle is complete!
   Gems in the groups development and test were not installed.
   It was installed into ./vendor/bundle
   Post-install message from rdoc:
   Depending on your version of ruby, you may need to install ruby rdoc/ri data:
   <= 1.8.6 : unsupported
   = 1.8.7 : gem install rdoc-data; rdoc-data --install
   = 1.9.1 : gem install rdoc-data; rdoc-data --install
   >= 1.9.2 : nothing to do! Yay!
   Post-install message from rufus-scheduler:
   ***
   Thanks for installing rufus-scheduler 3.0.9
   It might not be 100% compatible with rufus-scheduler 2.x.
   If you encounter issues with this new rufus-scheduler, especially
   if your app worked fine with previous versions of it, you can
   A) Forget it and peg your Gemfile to rufus-scheduler 2.0.24
   and / or
   B) Take some time to carefully report the issue at
   https://github.com/jmettraux/rufus-scheduler/issues
   For general help about rufus-scheduler, ask via:
   http://stackoverflow.com/questions/ask?tags=rufus-scheduler+ruby
   Cheers.

耙子流产:

   Bundle completed (103.44s)
   Cleaning up the bundler cache.
-----> Preparing app for Rails asset pipeline
   Running: rake assets:precompile
   rake aborted!
   Errno::ENOENT: No such file or directory - /tmp/build_40e2be2d308d4bfdb76752ea1cf61c82/champ-nr-1dcd52f65ba486073cef2e1c8447c02c71332fec/config/sidekiq.yml

结束失败评论:

!     Precompiling assets failed.
!

!     Push rejected, failed to compile Ruby app

1 个答案:

答案 0 :(得分:0)

据说你没有config/sidekiq.yml,我认为这是实际问题。你可以添加那个文件,你应该好好去。