Switched mysql2 gem for pg and updated rails