Upgrade to rails 4.1.0. Update gem file .