Closed burnnat closed 10 years ago
When specifying one of the default buildpacks to use for Heroku:
deploy: provider: heroku buildpack: ruby
Deployment fails with an error (see this build, for example):
Fetching buildpack... failed Unknown buildpack type: https://github.com/heroku/heroku-buildpack-ruby
Looking at the anvil source, it looks like this error is reached when the buildpack URL has an unrecognized file extension. The URLs built by Travis for default buildpacks appear to have no extension (i.e. https://github.com/heroku/heroku-buildpack-ruby rather than https://github.com/heroku/heroku-buildpack-ruby.git). Perhaps they need to have a .git added?
.git
As a workaround, one can supply the full URL (with extension) in .travis.yml and deployment will work:
.travis.yml
deploy: provider: heroku buildpack: https://github.com/heroku/heroku-buildpack-ruby.git
@burnnat: Sorry for the super long delay in getting to this.
No worries, @Aaron1011 - since there's a simple workaround, I've been getting along just fine in the meantime. :)
When specifying one of the default buildpacks to use for Heroku:
Deployment fails with an error (see this build, for example):
Looking at the anvil source, it looks like this error is reached when the buildpack URL has an unrecognized file extension. The URLs built by Travis for default buildpacks appear to have no extension (i.e. https://github.com/heroku/heroku-buildpack-ruby rather than https://github.com/heroku/heroku-buildpack-ruby.git). Perhaps they need to have a
.git
added?As a workaround, one can supply the full URL (with extension) in
.travis.yml
and deployment will work: