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

rspec-expectations conflict #161

Closed
gdlx opened this issue Sep 24, 2014 · 3 comments
Closed

rspec-expectations conflict #161

gdlx opened this issue Sep 24, 2014 · 3 comments

Comments

@gdlx
Copy link

gdlx commented Sep 24, 2014

Hi,

I'm using RSpec 3.1.0 and there's a gem version conflict on rspec-expectations with rspec_api_documentation:

Bundler could not find compatible versions for gem "rspec-expectations":
  In Gemfile:
    rspec_api_documentation (~> 4.1.0) ruby depends on
      rspec (>= 3.0.0, ~> 3.0.0) ruby depends on
        rspec-expectations (~> 3.0.0) ruby

    rspec-rails (~> 3.1.0) ruby depends on
      rspec-expectations (3.1.0)

Not sure how to fix this since it's because of a rspec dependancy. Maybe you should not provide a Gemfile.lock since it seems to be the root cause ? (https://github.com/zipmark/rspec_api_documentation/blob/master/Gemfile.lock#L83)

@oestrich
Copy link
Contributor

This will be fixed when I push a new version. See my comment in #162

@oestrich
Copy link
Contributor

I've pushed 4.2.0 which should solve the issue you're having.

@richardrails
Copy link

richardrails commented Jan 28, 2020

when upgrading to rspec-rails 4.0.0.pre

Bundler could not find compatible versions for gem "rspec-expectations":
  In snapshot (Gemfile.lock):
    rspec-expectations (= 3.9.0)

  In Gemfile:
    rspec_api_documentation was resolved to 6.1.0, which depends on
      rspec (~> 3.0) was resolved to 3.9.0, which depends on
        rspec-expectations (~> 3.9.0)

    rspec-rails was resolved to 4.0.0.pre, which depends on
      rspec-expectations (= 3.10.0.pre)

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

Successfully merging a pull request may close this issue.

3 participants