https://github.com/rvm/bundler-unload
Allow unloading bundler after Bundler.load
https://github.com/rvm/bundler-unload
Last synced: 8 months ago
JSON representation
Allow unloading bundler after Bundler.load
- Host: GitHub
- URL: https://github.com/rvm/bundler-unload
- Owner: rvm
- License: other
- Created: 2013-05-30T21:09:44.000Z (over 12 years ago)
- Default Branch: master
- Last Pushed: 2013-09-22T00:44:03.000Z (over 12 years ago)
- Last Synced: 2025-04-26T23:09:52.781Z (9 months ago)
- Language: Ruby
- Size: 110 KB
- Stars: 10
- Watchers: 20
- Forks: 3
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Bundler Unload
Allow unloading `bundler` after `Bundler.load`.
## Installation
gem install bundler-unload
## Example 1
require 'bundler-unload'
Bundler.with_bundle do |bundler|
bundler.spec.do_the_magic
end
## Example 2
require 'bundler-unload'
rubygems_spec = Bundler.rubygems.plain_specs
begin
Bundler.load.spec.do_the_magic
ensure
Bundler.unload!(rubygems_spec)
end
## Authors
- Michal Papis
## Thanks
- Joshua Hull
- Carl Lerche
- https://github.com/quetz