ryandotsmith / nginx-buildpack

Run NGINX in front of your app server on Heroku
456 stars 784 forks source link

cannot create regular file bin in directory #7

Closed brettgoulder closed 11 years ago

brettgoulder commented 11 years ago

There seems to be an incompatibility if there is a bin/ folder in an app that has this buildpack.

For reference:

https://support.heroku.com/tickets/85224

ryandotsmith commented 11 years ago

Can you help me out with a bit more detail? For instance, which version of the buildpack are you running? What is the value of the buildpack url? What do you expect to happen? What actually happened?

kheekien commented 11 years ago

There is a missing line on the bin/compile

set -e

new line to be added that should fix the problem

mkdir -p "$1/bin"

cp bin/nginx "$1/bin/"

ryandotsmith commented 11 years ago

@kheekien You might want to set your buildpack url to the latest on github. E.g. BUILDPACK_URL=https://github.com/ryandotsmith/nginx-buildpack.git This issue has been fixed on master. I will cut a release soon.