update Gemfiles for rails 4