khiav223577 / deep_pluck

Allow you to pluck attributes from nested associations without loading a bunch of records.
MIT License
460 stars 14 forks source link

Fix: broken test cases after bundler 2.0 was released #28

Closed khiav223577 closed 5 years ago

khiav223577 commented 5 years ago

See https://docs.travis-ci.com/user/languages/ruby/#bundler-20:

On January 3rd 2019 the Bundler team released Bundler 2.0 which dropped support for Ruby versions 2.2 and older, and added a new dependency on RubyGems 3.0.0.

If you find your builds are failing due to “bundler not installed” errors, try one of the following solutions:

If you are using a Ruby version lower than 2.3, add the following to your .travis.yml:

  before_install:
     - gem install bundler -v '< 2'

If you’re using Ruby 2.3 or higher, upgrade to Bundler 2.0 by adding the following to your .travis.yml:

  before_install:
    - gem update --system
    - gem install bundler