updated gem for rails 4