Updated gem for Rails 4