You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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:
Bundler.with_clean_env do
PTY.spawn(...)
end
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?
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: