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

Failure to install development dependency pry-byebug with '~> 0' version constrain #52

Open
EYurchenko opened this issue Nov 11, 2016 · 4 comments

Comments

@EYurchenko
Copy link

$ gem depend daemons -v 1.2.4 
Gem daemons-1.2.4
  pry-byebug (~> 0, development)
  rake (~> 0, development)
  rspec (~> 3.1, development)
  simplecov (~> 0, development)

But it is impossible to install pry-byebug

$ gem install pry-byebug --clear-source --source=https://rubygems.org -v '~> 0'
ERROR:  Could not find a valid gem 'pry-byebug' (~> 0) in any repository
ERROR:  Possible alternatives: pry-byebug
$ gem install pry-byebug --clear-source --source=https://rubygems.org -v '~> 0' --prerelease
ERROR:  Could not find a valid gem 'pry-byebug' (~> 0) in any repository
ERROR:  Possible alternatives: pry-byebug
@thuehlinger
Copy link
Owner

Which Ruby version are you using? I believe pry-byebug is not available on 1.8.x...

@BGmot
Copy link

BGmot commented Jan 30, 2017

ruby 2.3.1p112 (2016-04-26 revision 54768) [x86_64-linux]

The problem is in dependency specification - there is no pry-byebug gem version 0.x.x: https://rubygems.org/gems/pry-byebug/versions

@thuehlinger
Copy link
Owner

You are right. In fact this was already fixed in master, but the change is not in the 1.2.4 release. Are you in a hurry to get this fixed in a release? Otherwise I would release 1.2.5 only as soon as there are more pressing fixes.

@BGmot
Copy link

BGmot commented Jan 31, 2017

No, there is nothing urgent here. We are hosting our own gemservers and it was just spamming errors about not being able to install this dependency. I made a stub. Thanks.

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

3 participants