-
-
Notifications
You must be signed in to change notification settings - Fork 2k
bundler assumes ~/.bundle to be at /.bundle when $HOME is foul #4778
Comments
I even had a situation where bundler happily created /.bundle/config without error, because during provisioning of a vagrant machine as root, then using sudo, somehow privileges for writing to This might have happened because the |
Hmm, it seems like maybe we could just raise an exception when |
Sounds reasonable to me. |
I'll work on this |
@allenzhao honestly, on start up might be the best place? otherwise in all of the places that expand based on |
Fallback to a temp dir when the home directory is not usable Closes #4778 This is an alternative to #4886 \c @allenzhao @indirect
Fallback to a temp dir when the home directory is not usable Closes rubygems/bundler#4778 This is an alternative to rubygems/bundler#4886 \c @allenzhao @indirect
This happened to me today:
I'd say that touching
/.bundle
is probably never a good idea, unless HOME actually is/
.The text was updated successfully, but these errors were encountered: