AlkantarClanX12

Your IP : 3.141.12.30


Current Path : /proc/self/root/opt/alt/ruby32/share/gems/gems/bundler-2.4.19/lib/bundler/cli/
Upload File :
Current File : //proc/self/root/opt/alt/ruby32/share/gems/gems/bundler-2.4.19/lib/bundler/cli/remove.rb

# frozen_string_literal: true

module Bundler
  class CLI::Remove
    def initialize(gems, options)
      @gems = gems
      @options = options
    end

    def run
      raise InvalidOption, "Please specify gems to remove." if @gems.empty?

      Injector.remove(@gems, {})
      Installer.install(Bundler.root, Bundler.definition)
    end
  end
end