heroku-buildpack-static
heroku-buildpack-static copied to clipboard
error fetching custom buildpack
I was trying to setup a super simple static app as described in the README.
$ git init
Initialized empty Git repository in /Users/me/Sites/my-app/.git/
$ cat > index.html
<h1>Hello world</h1>
$ git add index.html
$ git commit -m "Initial."
[master (root-commit) 2850e68] Initial.
1 file changed, 1 insertion(+)
create mode 100644 index.html
$ heroku create --buildpack [email protected]:craigkerstiens/heroku-buildpack-static.git my-app
Creating my-app... done, stack is cedar
[email protected]:craigkerstiens/heroku-buildpack-static.git
http://my-app.herokuapp.com/ | [email protected]:my-app.git
Git remote heroku added
$ git push heroku master
Counting objects: 3, done.
Writing objects: 100% (3/3), 231 bytes, done.
Total 3 (delta 0), reused 0 (delta 0)
-----> Heroku receiving push
-----> Fetching custom buildpack... failed
! Heroku push rejected, error fetching custom buildpack
To [email protected]:my-app.git
! [remote rejected] master -> master (pre-receive hook declined)
error: failed to push some refs to '[email protected]:my-app.git'
$ heroku logs
2012-08-01T09:06:06+00:00 heroku[slugc]: Slug compilation started
2012-08-01T09:06:12+00:00 heroku[slugc]: Slug compilation failed: error fetching custom buildpack
Am I doing something wrong?
Try using the HTTPS URL for the buildpack rather than the GIT URL. That worked for me.
You're right. Changing the heroku create
line to
heroku create --buildpack https://github.com/craigkerstiens/heroku-buildpack-static.git my-app
fixed that issue for me. Now I'm stuck with #1 :-/