rails-sqlserver / heroku-buildpack-freetds

This is a Heroku buildpack for vendoring the FreeTDS binaries into your project.
MIT License
10 stars 31 forks source link

Fixes PATH to play nice with other buildpacks #12

Closed gaffneyc closed 1 year ago

gaffneyc commented 4 years ago

This fixes the profile so it uses the PATH at time of load instead of the PATH when the profile is compiled. Since $PATH wasn't escaped it was being expanded when the buildpack was installed and would clobber the PATH set by other buildpacks that were loaded before it. I'm guessing profiles are loaded in alphabetical order (ours is dms.sh) which is why we ran into this.

bf4 commented 1 year ago

Thanks for this. Sorry I'm just seeing it now.