Added gem 'p' to GEMfile. Changed production adapter to postrgresql.