Allow unloading bundler after Bundler.load
Ruby
Switch branches/tags
Nothing to show
Latest commit c31b2a1 Sep 21, 2013 @mpapis mpapis thanks @quetz
Permalink
Failed to load latest commit information.
lib 1.0.2 Sep 22, 2013
.gitignore ignore gems May 30, 2013
.ruby-version ruby-1.8.7 is required for proper building gems for ruby 1.8.7 May 30, 2013
LICENCE add a licence May 31, 2013
README.md thanks @quetz Sep 22, 2013
bundler-unload.gemspec Add licence to gemspec Jul 23, 2013

README.md

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

Thanks