Sha256: bacf0119b8c966df23a85439f82a3dc8e663a95f41c85144d737f8e45d8965b5
Contents?: true
Size: 481 Bytes
Versions: 2
Compression:
Stored size: 481 Bytes
Contents
#!/usr/bin/env ruby # Newer rubies have Bundler 2.x installed as default so it can't be deleted # We need Bundler 1.x gempaths = `gem env gempath`.split(':') gempaths.each do |gempath| # lookup bundler-*.gemspec files and delete them # this is the only way to completely cleanup default bundler # Note: the bundler gemspecs' paths are different for CRuby and JRuby Dir.glob(gempath.strip + '/specifications/**/bundler-*.gemspec').each do |p| File.delete(p) end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
aptible-cli-0.19.9 | cleanup_bundler |
aptible-cli-0.19.7 | cleanup_bundler |