Devops

11 miniposts
Devops

Dokku deployment error: You must use Bundler 2 or greater with this lockfile.

When deploying on a dokku server with herokuish and default buildpacks, If your Ruby on Rails application was bundled with Bundler version 2+, your console might throw the following error You must use Bundler 2 or greater with this lockfile, resulting in deployment failure. This minipost will demonstrate, how to configure a buildpack for a Ruby on Rails project on a dokku server, that can handle Bundler version 2+ and successfully deploy the application.