首页
学习
活动
专区
圈层
工具
发布
社区首页 >问答首页 >Ruby应用程序"Rake半途而废“和”预编译资产失败“,因此”拒绝、编译Ruby应用程序失败“

Ruby应用程序"Rake半途而废“和”预编译资产失败“,因此”拒绝、编译Ruby应用程序失败“
EN

Stack Overflow用户
提问于 2015-01-15 19:18:02
回答 1查看 80关注 0票数 0

我从来没有使用过Ruby,一整天的谷歌搜索都让我陷入困境!一名外包的开发人员刚刚提供了在Heroku上部署的指令,然后完全沉默了。

我正试图通过Github存储库部署到Heroku。下面是构建输出中可能相关的部分。

请告诉我是否需要其他信息(例如,文件中的代码),我会立即发布它。

谢谢你帮了我一大把。

捆绑安装:

代码语言:javascript
复制
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.

Rake流产:

代码语言:javascript
复制
   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

关闭失败评论:

代码语言:javascript
复制
!     Precompiling assets failed.
!

!     Push rejected, failed to compile Ruby app
EN

回答 1

Stack Overflow用户

发布于 2015-01-15 19:26:14

它是说你没有config/sidekiq.yml,我想这是真正的问题。您可以添加该文件,您应该是好的。

票数 0
EN
页面原文内容由Stack Overflow提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://stackoverflow.com/questions/27971269

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档