fix dependency for Rails 4