Changed ruby and postgres dependencies to work with Ubuntu 14.04