This is strange; The bundler should block builderbefore v2.1.2 when analyzing dependencies.
First try running bundle updateto have the Bundler re-resolve all your dependencies. This should correctly block the builder for v2.1.2.
Otherwise, you can force builder v2.1.2 to add it to your own Gemfile:
gem `builder`, `~> 2.1.2'
Then run bundle update builder. This should add v2.1.2 to yours Gemfile.lock, which should work fine with Cucumber (only> = 2.1.2 is required).
See the Yehuda Katz news blog on Gem versioning and the Bundler for more details.
source
share