class Bundler::CLI::Remove
def initialize(gems, options)
def initialize(gems, options) @gems = gems @options = options end
def run
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