Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

"Unknown buildpack type" error for default buildpack #85

Closed
burnnat opened this issue Dec 16, 2013 · 2 comments
Closed

"Unknown buildpack type" error for default buildpack #85

burnnat opened this issue Dec 16, 2013 · 2 comments

Comments

@burnnat
Copy link

burnnat commented Dec 16, 2013

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?

As a workaround, one can supply the full URL (with extension) in .travis.yml and deployment will work:

deploy:
  provider: heroku
  buildpack: https://github.com/heroku/heroku-buildpack-ruby.git
Aaron1011 added a commit that referenced this issue Jan 21, 2014
@Aaron1011
Copy link
Contributor

@burnnat: Sorry for the super long delay in getting to this.

@burnnat
Copy link
Author

burnnat commented Jan 21, 2014

No worries, @Aaron1011 - since there's a simple workaround, I've been getting along just fine in the meantime. :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants