- Download pear.rb to the directory of your choosing
- Write a CSV file with a header containing the column "name", and a list of names below it, one per row. See input.csv as a sample (
last_paired_with
is optional, and will be written automatically on first run). - Give pear.rb the execute permission (either via the GUI or
chmod +x pear.rb
)
Ruby 2.3+. No special gems, all stdlib.
./pear.rb [options] input.csv
- Open Terminal
- Navigate to the appropriate directory (
cd /path/to/pear.rb
) - For standard operation:
./pear.rb input.csv
- To exclude specific people from a run:
./pear.rb -e "Jerry Gergich, Toby Flenderson" input.csv