https://github.com/fphilipe/bundler-private_install
https://phili.pe/posts/loading-additional-ruby-gems-in-development/
https://github.com/fphilipe/bundler-private_install
bundler bundler-plugin gem ruby rubygems
Last synced: about 1 month ago
JSON representation
https://phili.pe/posts/loading-additional-ruby-gems-in-development/
- Host: GitHub
- URL: https://github.com/fphilipe/bundler-private_install
- Owner: fphilipe
- License: mit
- Created: 2019-10-20T11:07:26.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2019-10-21T14:01:57.000Z (over 5 years ago)
- Last Synced: 2025-04-12T18:55:04.615Z (2 months ago)
- Topics: bundler, bundler-plugin, gem, ruby, rubygems
- Language: Ruby
- Homepage:
- Size: 9.77 KB
- Stars: 6
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE.txt
Awesome Lists containing this project
README
# bundler-private_install
A Bundler plugin that installs additional gems listed in a separate Gemfile.
This is especially useful when you always use certain gems in development but don't want to add it to the project's Gemfile.
* * *
Blog post:
[**Loading Additional Ruby Gems in Development**
*Using your favorite gems without adding them to your project's Gemfile*](https://phili.pe/posts/loading-additional-ruby-gems-in-development/)## Installation
Run the following inside a folder that does **not** have a `Gemfile` in it:
$ bundle plugin install bundler-private_install
## How It Works
After running `bundle install` it will trigger another `bundle install` for any other Gemfile that contains `eval_gemfile`.
The assumption is that this other Gemfile has an `eval_gemfile 'Gemfile'`, i.e. a dependency on the main Gemfile.
As to why you'd want to do this, see the blog post linked above.
## License
The gem is available as open source under the terms of the [MIT License](https://opensource.org/licenses/MIT).