У меня было приложение Ruby on Rails, работающее с Dokku. Когда я попытался развернуть его сегодня снова, я получил следующую ошибку:
--> Installing dependencies using bundler 2.0.1
Running: bundle install --without development:test --path vendor/bundle --binstubs vendor/bundle/bin -j4 --deployment
Activating bundler (2.0.2) failed:
Could not find 'bundler' (2.0.2) required by your /tmp/build/Gemfile.lock.
To update to the latest version installed on your system, run `bundle update --bundler`.
To install the missing version, run `gem install bundler:2.0.2`
Checked in 'GEM_PATH=vendor/bundle/ruby/2.5.0', execute `gem env` for more information
To install the version of bundler this project requires, run `gem install bundler -v '2.0.2'`
Bundler Output: Activating bundler (2.0.2) failed:
Could not find 'bundler' (2.0.2) required by your /tmp/build/Gemfile.lock.
To update to the latest version installed on your system, run `bundle update --bundler`.
To install the missing version, run `gem install bundler:2.0.2`
Checked in 'GEM_PATH=vendor/bundle/ruby/2.5.0', execute `gem env` for more information
To install the version of bundler this project requires, run `gem install bundler -v '2.0.2'`
!
! Failed to install gems via Bundler.
Не уверен, как решить эту проблему, и не смог найти никаких ссылок на этот тип проблемы с Dokku.