-
Notifications
You must be signed in to change notification settings - Fork 788
Closed
Description
Hello!
I'm trying to upgrade to heroku-22 and I'm running into issue that erb command needed by start-nginx script is not found.
Could it be, that the following line:
heroku-buildpack-nginx/bin/compile
Line 50 in 201ffe1
| echo "export PATH=\"\${HOME}/${vendored_ruby_dir}/bin:\${PATH}\"" > "${BUILD_DIR}/.profile.d/ruby.sh" |
should actually reference ${BUILD_DIR} instead of ${HOME} ?
Like this:
echo "export PATH=\"\${BUILD_DIR}/${vendored_ruby_dir}/bin:\${PATH}\"" > "${BUILD_DIR}/.profile.d/ruby.sh"
If you look at line 40, the folder is created like this:
mkdir -p "${BUILD_DIR}/${vendored_ruby_dir}"
But when setting the path, another variable is used.
This works fine on heroku-20 and earlier versions as it seems they came with preinstalled Ruby.
Metadata
Metadata
Assignees
Labels
No labels