# File lib/automateit/package_manager/gem.rb, line 154 def uninstall(*packages) return _uninstall_helper(*packages) do |list, opts| gem = opts[:gem] || self.gem # TODO PackageManager::gem#uninstall -- add logic to handle prompts during removal ?? for package in list # gem options: # -x : remove installed executables cmd = "#{gem} uninstall -x #{package} < /dev/null" cmd << " > /dev/null" if opts[:quiet] cmd << " 2>&1" interpreter.sh(cmd) end end end