Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

incompatible bundler versions #42

Open
kdiogenes opened this issue May 19, 2020 · 0 comments
Open

incompatible bundler versions #42

kdiogenes opened this issue May 19, 2020 · 0 comments

Comments

@kdiogenes
Copy link

Hi,

When I try to bundle this repo I get the following error:

Fetching gem metadata from https://rubygems.org/.........
Fetching gem metadata from https://rubygems.org/.
Resolving dependencies...
Bundler could not find compatible versions for gem "bundler":
  In Gemfile:
    bundler (~> 1.16)

  Current Bundler version:
    bundler (2.1.4)
This Gemfile requires a different version of Bundler.
Perhaps you need to update Bundler by running `gem install bundler`?

Could not find gem 'bundler (~> 1.16)' in any of the relevant sources:
  the local ruby installation

I had to change the gemspec to spec.add_development_dependency "bundler", "~> 2.1.4" to make it work. Removing bundler from gemspec also solves the problem. Is it really necessary to be specified in the gemspec?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant