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

Issue with listen gem version on Ruby 2.1.x #124

Open
richburroughs opened this issue May 16, 2016 · 0 comments
Open

Issue with listen gem version on Ruby 2.1.x #124

richburroughs opened this issue May 16, 2016 · 0 comments

Comments

@richburroughs
Copy link

One of my co-workers ran into this today, using the latest version of the skeleton and I can duplicate it. When I run "bundle" with the included Gemfile on Ruby 2.1.7 I get:

Installing listen 3.1.4

Gem::InstallError: listen requires Ruby version >= 2.2.3, ~> 2.2.

Guard is pulling in listen as a dependency:

listen <= 4.0, >= 2.7

listen is at 3.1.4 but that's not compatible with Ruby 2.1.x. It looks like that changed with listen version 3.1.0.

I'm still kind of a Ruby noob and I'm not sure what the best way to handle this is. If I add listen to my Gemfile it works:

gem "listen", "~> 3.0.0"

Do we want to add that to the Gemfile? Or should users just use 2.2.x? I usually try to stick to the same Ruby that Puppet uses which is 2.1.x for me.

I can fix my module's Gemfile but it seems like other people will run into this.

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