在部署heroku-buildpack-nodejs和heroku-buildpack-ruby-minimal时“推送拒绝,无法编译Multipack应用程序”

时间:2014-01-08 22:32:55

标签: heroku deployment buildpack

我正在使用heroku-buildpack-multi:

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

我正在尝试使用两个buildpack进行部署,并收到以下错误:

Fetching repository, done.
Counting objects: 6, done.
Delta compression using up to 4 threads.
Compressing objects: 100% (3/3), done.
Writing objects: 100% (3/3), 325 bytes | 0 bytes/s, done.
Total 3 (delta 2), reused 0 (delta 0)

-----> Fetching custom git buildpack... done
-----> Multipack app detected
=====> Downloading Buildpack: https://github.com/heroku/heroku-buildpack-nodejs.git

 !     Push rejected, failed to compile Multipack app

以下是我的.buildpack

的内容
https://github.com/heroku/heroku-buildpack-nodejs.git
https://github.com/dpiddy/heroku-buildpack-ruby-minimal.git

它过去是间歇性的,但每次我尝试部署时都会发生这种情况。

奇怪的是,官方的heroku ruby​​项目似乎已经失踪了...... https://github.com/heroku/heroku-buildpack-ruby

请注意,它仍在此页面上:https://github.com/heroku

1 个答案:

答案 0 :(得分:8)

您需要一个package.json作为节点buildpack。所以,像:

{
  "private": true,
  "name": "my-rad-proj",
  "version": "0.1.0",
  "engines": {
    "node": "~0.10.21"
  }
}

以及ruby的Gemfile。