Sha256: f0baa81d87903f296f0c31d099b499b5edc3c6e5fe3094289113007b2fc8836d

Contents?: true

Size: 351 Bytes

Versions: 243

Compression:

Stored size: 351 Bytes

Contents

# 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

Version data entries

243 entries across 243 versions & 6 rubygems

Version Path
bundler-2.2.29 lib/bundler/cli/remove.rb
rubygems-update-3.2.28 bundler/lib/bundler/cli/remove.rb
bundler-2.2.28 lib/bundler/cli/remove.rb