heroku buildpacks的顺序是否重要?

时间:2015-10-16 21:34:09

标签: ruby-on-rails node.js heroku phantomjs buildpack

我在heroku app中添加了几个buildpack:

➜  tennis-match git:(master) heroku buildpacks --app we-tennis-staging                                                                    
=== we-tennis-staging Buildpack URLs
1. https://github.com/heroku/heroku-buildpack-ruby
2. http://github.com/stomita/heroku-buildpack-phantomjs.git
3. https://github.com/ddollar/heroku-buildpack-multi.git
4. https://github.com/heroku/heroku-buildpack-nodejs.git
5. --buildpack=https://github.com/ddollar/heroku-buildpack-multi.git

但现在我不能再推送到heroku了:

-> Fetching custom git buildpack... done
remote: -----> PhantomJS app detected
remote: -----> Fetching PhantomJS 1.9.8 binaries at https://bitbucket.org/ariya/phantomjs/downloads/phantomjs-1.9.8-linux-x86_64.tar.bz2
remote: -----> Extracting PhantomJS 1.9.8 binaries to /tmp/build_d85248ffdc50138a22fb863a0367b5f2/vendor/phantomjs
remote: -----> exporting PATH and LIBRARY_PATH
remote: -----> Fetching custom git buildpack... done
remote: 
remote:  !     Push rejected, failed to detect
remote: 
remote: Verifying deploy...
remote: 
remote: !   Push rejected to we-tennis-staging.

buildpacks的顺序是否有任何重要性。为什么我的应用程序崩溃?

1 个答案:

答案 0 :(得分:0)

当你没有设置Buildpack的所有依赖项时会发生这种情况 - 有些buildpacks要求你在应用程序中设置特定的设置