Added require 'rubygems' to pg_to_csv.rb