An open API service indexing awesome lists of open source software.

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

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