簡體   English   中英

Heroku拒絕我的自定義buildpack的使用乳膠的紅寶石

[英]Heroku rejects my custom buildpack for ruby-on-rails with latex

我需要添加管道

source file -> latex -> pdf file

到我正在開發並部署在heroku( http://vschool.herokuapp.com )的Rails應用程序上。 我已經嘗試遵循以下建議

https://github.com/holiture/heroku-buildpack-tex

以及使用mutipacks的進一步建議,例如

$ heroku config:add BUILDPACK_URL=https://github.com/ddollar/heroku-buildpack-multi.git

創建包含內容的文件.buildpacks之后

git://github.com/heroku/heroku-buildpack-python.git
git://github.com/holiture/heroku-buildpack-tex.git
git://github.com/heroku/heroku-buildpack-ruby.git

當我按下時會發生以下情況:

$ git push heroku master
Counting objects: 11, done.
Delta compression using up to 4 threads.
Compressing objects: 100% (6/6), done.
Writing objects: 100% (6/6), 480 bytes | 0 bytes/s, done.
Total 6 (delta 5), reused 0 (delta 0)

-----> Fetching custom git buildpack... done

 !     Push rejected, no Cedar-supported app detected

To git@heroku.com:vschool.git
 ! [remote rejected] master -> master (pre-receive hook declined)
error: failed to push some refs to 'git@heroku.com:vschool.git'

在此之后,我的應用程序被關閉了,我必須這樣做:

$ heroku config:unset BUILDPACK_URL

之后,我回到工作狀態。

我一定不了解如何安裝多個buildpack。 任何建議將不勝感激。

嘗試將您的.buildpack替換為

git://github.com/heroku/heroku-buildpack-ruby.git
git://github.com/holiture/heroku-buildpack-tex.git

似乎Heroku在構建您的應用程序時可能正在搜索特定Python的文件 (requirements.txt或setup.py),而不是特定於Ruby的文件(Gemfile)。

暫無
暫無

聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.

 
粵ICP備18138465號  © 2020-2024 STACKOOM.COM