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

Conflicting dependencies #121

Open
reppard opened this issue May 5, 2016 · 1 comment
Open

Conflicting dependencies #121

reppard opened this issue May 5, 2016 · 1 comment

Comments

@reppard
Copy link

reppard commented May 5, 2016

I was having troubles getting beaker to run out of the box on a freshly generated module. I was using a newer version of Ruby than is supported.

Per beaker's README we can use:

  • Ruby 1.9+(should probably be reworded, implies anything greater than 1.9)
  • 2.0.0p481
  • or 2.1.1

This creates problems because in the development group of the Gemfile, "guard-rake" is required.

guard-rake
requires guard
which requires listen
which requires ruby_dep
which requires Ruby 2.2.3 or greater and this causes bundle install to fail because of beaker's version dependencies.

The workaround for me has been to remove guard from the gem file and use Ruby 2.1.1

@robinbowes
Copy link
Contributor

I ran into similar issues today - bundle install wouldn't complete.

I'm running on Fedora 23 with ruby 2.2.4 (system).

I ran into the "puppet 3.x won't run on ruby 2.2" problem which I fixed by installing ruby 1.9.3-p551 (using rbenv) and dropping using "rbenv local 1.9.3-p551" in the repo in question.

I then ran into the ruby_dep issue which I fixed by pinning listen to 3.0.6 in the Gemfile:

  gem 'listen', "<= 3.0.6"

I'm currently hitting a problem with vagrant:

Bundler could not find compatible versions for gem "bundler":
  In Gemfile:
    vagrant (= 1.8.1) was resolved to 1.8.1, which depends on
      bundler (<= 1.10.6, >= 1.5.2)

  Current Bundler version:
    bundler (1.11.2)
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.10.6, >= 1.5.2)', which is required by gem 'vagrant (= 1.8.1)', in any of the sources.

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

2 participants