rails patch and consequent gem updates