Formerly passed tests failed due to missing rake gem

bundler

#1

All my builds are now failed with next error:

export RAILS_ENV="test"
export RACK_ENV="test"
bundle exec rake db:create db:schema:load --trace
Your bundle is locked to rake (12.0.0), but that version could not be found in any of the sources listed in your Gemfile. If you haven't changed sources, that means the author of rake (12.0.0) has removed it. You'll need to update your bundle to a different version of rake (12.0.0) that hasn't been removed in order to install.
Run `bundle install` to install missing gems.

export RAILS_ENV="test"
export RACK_ENV="test"
bundle exec rake db:create db:schema:load --trace
 returned exit code 7

I’ve already tried to build without cache and to update to the latest bundler gem.

Update. We’ve fixed it with next config:

dependencies:
   pre:
     - gem install rubygems-bundler
     - gem regenerate_binstubs
     - gem install bundler --pre

#2

Glad you were able to resolve this.

Could you tell us the version of Ruby, RubyGems, and Bundler you were using before you fixed it?


#3