updating gems to rails 4 compatible versions