On Tue, Nov 5, 2013 at 3:25 PM, Robert Fletcher <[email protected]> wrote:
> I'm trying to get my buildpack working on Heroku, but my executable isn't
> turning up in the path. I'm trying to add "app/vendor/lpsolve" to PATH. You
> can see my release file here:
> https://github.com/mockdeep/heroku-buildpack-lpsolve/blob/master/bin/release

The best way to set PATH in a buildpack is to create a .profile.d file.
For example,

https://github.com/kr/heroku-buildpack-go/blob/3df89c0/bin/compile#L128-L129

The release script is an older mechanism, and it only sets config vars the
very first time an app gets pushed. The .profile.d mechanism is more
flexible and reliable.

More documentation about .profile.d at:
https://devcenter.heroku.com/articles/profiled

-- 
-- 
You received this message because you are subscribed to the Google
Groups "Heroku" group.

To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/heroku?hl=en_US?hl=en

--- 
You received this message because you are subscribed to the Google Groups 
"Heroku Community" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to