Added pg as dependency in Rakefile