Sha256: 1349fd0da25cd7f2d8f178a907248871ed001e442c5b610bceaf4312fb6eb783
Contents?: true
Size: 724 Bytes
Versions: 99
Compression:
Stored size: 724 Bytes
Contents
#!/bin/sh master() { echo "Would you like to Uninstall the RPS gem, Ruby Gems, Ruby, and xcode command line tools?"; process() { sudo rm -rf /Library/Developer/CommandLineTools; /usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/uninstall)"; rvm implode; gem uninstall PlayRockPaperScissorsGame; echo "Finished!"; } confirm() { echo "Press Y to uninstall, or press N to cancel"; while read -r -n 1 -s answer; do if [[ $answer = [YyNn] ]]; then [[ $answer = [Yy] ]] && retval=0; [[ $answer = [Nn] ]] && retval=1; break; fi; done; return $retval; } init() { if confirm; then process; else exit; fi; } init; } master;
Version data entries
99 entries across 99 versions & 2 rubygems