Created
August 17, 2021 04:56
-
-
Save benjaminfauchald/39979fd76341e077eb55391e9e424c7d to your computer and use it in GitHub Desktop.
Sollution for Gem that results in a bundler failure due to version mismatch ("Bundler could not find compatible versions for...")
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Hi fellow backenders | |
If you run into an issue with adding a gem that results in a bundler failure due to version mismatch ("Bundler could not find compatible versions for...") | |
It may well be that you will succeed by using either: | |
the version branch, or | |
the default (master|main) branch | |
in your Gemfile, e.g. | |
gem 'solidus_importer', github: 'solidusio-contrib/solidus_importer', branch: 'master' | |
Also worth looking at the gem repo's gemspec file, as that's where the gem dependencies are specified, e.g.: | |
https://github.com/solidusio-contrib/solidus_importer/blob/cc46fecf0524f02e18313b3ae0c532fc02301bdf/solidus_importer.gemspec#L32 | |
solidus_importer.gemspec | |
spec.add_dependency 'solidus_core', ['>= 2.0.0', '< 4'] | |
<https://github.com/solidusio-contrib/solidus_importer|solidusio-contrib/solidus_importer>solidusio-contrib/solidus_importer | Added by GitHub |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment