-
Notifications
You must be signed in to change notification settings - Fork 233
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
PATH in builds #3262
Comments
kk, fix coming in a week or so ... PR welcome if you know how to fix |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
As per #2744 the PATH variable leaks into our jobs and this can impact using rbenv.
When samson is launched with
bundle exec puma
, it prepends the directory/var/www/samson/releases/1/vendor/bundle/ruby/2.5.0/bin
to the PATH.It appears this issue was introduced in 2bf25bd
Previously we were calling:
This strips the path prepended by
bundle exec
and hence avoids conflicts with rbenv.Should we re-introduce
Bundler.with_clean_env
to strip the PATH?cc @grosser
The text was updated successfully, but these errors were encountered: