Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.Sign up
Gem::DependencyResolutionError when installing Rails 5.1.0.beta1 #1851
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
I was, however able to install rails 5.1.0.beta1 using this snippet:
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.8diff-497e339bac125e58f5e42c03ab6ea9a7R325 that affects the resolution order in case of prerelase.