Fixed some dependency errors with nokogiri and PG