Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Don't fallback to tempdir when required directories exist.
When home directory is not writable, but the required .gem and .bundle are, we should use them instead of falling back to use tempdirs. This creates a workaround for more restrictive setups using Omnibus Docker or any hardened setup, to overcome the annoyances introduced by rubygems#4951.
- Loading branch information