gemの出すWarnignを消したい

gemのWaringログがターミナルに溢れていたのでWarnignがでないようにgemをアップロードしました。
warningログは以下のようなやつ。

DEPRECATION WARNING: Returning a hash from a #scope or #default_scope block is deprecated. Please return an actual scope object instead. E.g. scope :red, -> { where(color: 'red') } rather than scope :red, -> { { conditions: { color: 'red' } } }. (The scope was defined at /Users/retina_koji/.rvm/gems/ruby-2.0.0-p0/gems/ancestry-1.3.0/lib/ancestry/has_ancestry.rb:51.). (called from new at /Users/retina_koji/dev/actindi/rails//app/controllers/admin/books_controller.rb:22)
DEPRECATION WARNING: Model.scoped is deprecated. Please use Model.all instead. (called from find_node at /Users/retina_koji/dev/actindi/rails/en-park/app/models/category.rb:38)

rubygemsリポジトリにはまだアップロードしていないけど、gibhub上ではだいたい解決していることが多いっぽいので、Gemfileで該当githubリポジトリ名を名指してbundle updateすれば最新になってwarnigログが消えるのでは。

gem 'ancestry', github: 'stefankroes/ancestry'

すっきりしました。