daemons icon indicating copy to clipboard operation
daemons copied to clipboard

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

Open EYurchenko opened this issue 9 years ago • 4 comments

$ 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

EYurchenko avatar Nov 11 '16 14:11 EYurchenko

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

thuehlinger avatar Jan 29 '17 16:01 thuehlinger

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

BGmot avatar Jan 30 '17 14:01 BGmot

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.

thuehlinger avatar Jan 31 '17 17:01 thuehlinger

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.

BGmot avatar Jan 31 '17 19:01 BGmot