Current Path : /opt/cpanel/ea-ruby27/root/usr/share/ruby/ruby-2.7.8/bundler/cli/ |
Current File : //opt/cpanel/ea-ruby27/root/usr/share/ruby/ruby-2.7.8/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) if @options["install"] end end end