Upgrade gem dependencies

* Add version for rails_best_practices because the latest version no
  longer works with ruby 1.8