Added pg_to_csv.sh to set up Ruby env