PATH:
opt
/
alt
/
ruby26
/
lib64
/
ruby
/
2.6.0
/
bundler
/
cli
# frozen_string_literal: true module Bundler class CLI::Clean attr_reader :options def initialize(options) @options = options end def run require_path_or_force unless options[:"dry-run"] Bundler.load.clean(options[:"dry-run"]) end protected def require_path_or_force return unless Bundler.use_system_gems? && !options[:force] raise InvalidOption, "Cleaning all the gems on your system is dangerous! " \ "If you're sure you want to remove every system gem not in this " \ "bundle, run `bundle clean --force`." end end end
[-] pristine.rb
[edit]
[-] issue.rb
[edit]
[-] clean.rb
[edit]
[-] list.rb
[edit]
[-] inject.rb
[edit]
[-] viz.rb
[edit]
[-] console.rb
[edit]
[-] check.rb
[edit]
[-] common.rb
[edit]
[-] platform.rb
[edit]
[-] outdated.rb
[edit]
[-] update.rb
[edit]
[-] show.rb
[edit]
[-] open.rb
[edit]
[-] install.rb
[edit]
[+]
..
[-] config.rb
[edit]
[-] add.rb
[edit]
[-] remove.rb
[edit]
[-] plugin.rb
[edit]
[-] binstubs.rb
[edit]
[-] cache.rb
[edit]
[-] gem.rb
[edit]
[-] init.rb
[edit]
[-] exec.rb
[edit]
[-] package.rb
[edit]
[-] info.rb
[edit]
[-] lock.rb
[edit]
[-] doctor.rb
[edit]