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
Gem::DependencyResolutionError when installing Rails 5.1.0.beta1 #1851
Comments
I can confirm the above is happening even with the latest version of Rubygems. In my case, I had both Rails 5.0.0 and 5.0.1 already installed on my machine and in this Gist you can see the output of the command: DEBUG_RESOLVER=1 MOLINILLO_DEBUG=1 gem install --pre rails -v 5.1.0.beta1 --backtrace --debug It looks like actionpack 5.1.0.beta1 is specifically requiring actionpack 5.1.0.beta1. I haven't found the exact culprit but it might be related to this change that was included in rubygems 2.6.8: v2.6.7...v2.6.8#diff-497e339bac125e58f5e42c03ab6ea9a7R325 that affects the resolution order in case of prerelase. |
Let me see if Releasing a new Molinillo fixes this... |
I'm seeing this also with Rails 5.0.2.rc1 |
I have a resolver fix for this (using the improved sorting algorithm that bundler uses) |
#1856 should fix the issue |
Just for reference: #1653 (comment) |
[Resolver] Use improved bundler sorting algorithm # Description: Fixes #1851 # Tasks: - [ ] Describe the problem / feature - [ ] Write tests - [ ] Write code to solve the problem - [ ] Get code review from coworkers / friends I will abide by the [code of conduct](https://github.com/rubygems/rubygems/blob/master/CODE_OF_CONDUCT.md).
[Resolver] Use improved bundler sorting algorithm # Description: Fixes #1851 # Tasks: - [ ] Describe the problem / feature - [ ] Write tests - [ ] Write code to solve the problem - [ ] Get code review from coworkers / friends I will abide by the [code of conduct](https://github.com/rubygems/rubygems/blob/master/CODE_OF_CONDUCT.md). (cherry picked from commit fa87e95)
Hi,
There seems to be an issue when trying to install a pre release of Rails. This same issue also popped up for the first time (at least for me) when rails 5 beta was released, more info at #1653.
I get no output when I run
gem install rails --pre
. When I do rungem install rails -v 5.1.0.beta1 --verbose
, I get this:I was, however able to install rails 5.1.0.beta1 using this snippet:
Gem env
The text was updated successfully, but these errors were encountered: