[ruby on rails - 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. - Stack Overflow](https://stackoverflow.com/questions/41757144/your-bundle-is-locked-to-rake-12-0-0-but-that-version-could-not-be-found-in-a)
が同様のエラーです。

https://stackoverflow.com/a/41757322/1979953
の回答のとおり

Step1:


    gem install rubygems-bundler
    gem regenerate_binstubs


Step2:

`vendor/bundle` ディレクトリの削除

`bundle install` をリビルドのために行う

Step3:

`gem update bundler` を試す

関連イシュー: https://github.com/bundler/bundler/issues/5068