https://github.com/rmm5t/rbenv-bundle-path-fix
:gem::wrench: Fixes a peculiar difference between local and global config of BUNDLE_PATH in Bundler v1
https://github.com/rmm5t/rbenv-bundle-path-fix
Last synced: 6 months ago
JSON representation
:gem::wrench: Fixes a peculiar difference between local and global config of BUNDLE_PATH in Bundler v1
- Host: GitHub
- URL: https://github.com/rmm5t/rbenv-bundle-path-fix
- Owner: rmm5t
- Created: 2016-10-18T17:54:05.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2020-06-17T02:16:26.000Z (almost 5 years ago)
- Last Synced: 2024-12-06T18:06:54.692Z (6 months ago)
- Language: Shell
- Homepage: https://github.com/bundler/bundler/issues/3552
- Size: 2.93 KB
- Stars: 5
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Funding: .github/FUNDING.yml
Awesome Lists containing this project
README
# rbenv-bundle-path-fix
This is an override for a limitation of Bundler v1 and v2.
## Bundler v3
This should no longer be necessary once Bundler v3 is released as a regular
`bundle config --global path vendor` should do the trick instead.See https://github.com/bundler/bundler/issues/3552 for more information.
## Bundler v2
If on Bundler v2, it's also possible to opt into the v3 behavior with:
``` sh
$ cat ~/.bundle/config
---
BUNDLE_PATH: "vendor"
BUNDLE_GLOBAL_PATH_APPENDS_RUBY_SCOPE: "true"
```See https://github.com/bundler/bundler/issues/3552#issuecomment-471412053 for more information.
## Installation
```
git clone https://github.com/rmm5t/rbenv-bundle-path-fix.git ~/.rbenv/plugins/rbenv-bundle-path-fix
```