Resolver not working correctly #1017

Closed
indirect opened this Issue Feb 5, 2011 · 1 comment

Projects

None yet

2 participants

@indirect
Owner
indirect commented Feb 5, 2011

Check out rails/rails@b9309b4 and run bundle install. It yields this error:

Bundler could not find compatible versions for gem "arel":
  In snapshot (Gemfile.lock):
    arel (2.0.0.dev.20100924164835)

  In Gemfile:
    rails depends on
      arel (~> 2.0.2)

Running `bundle update` will rebuild your snapshot from scratch, using only
the gems in your Gemfile, which may resolve the conflict.

However, rails declares no dependency on arel at all, let alone ~>2.0.2.

Could this be a random error? I get the following using my patched bundler patched for various git related issues.
I'll note this issue as related in the commit comments...

$ git checkout -b bundler-issue-1017 b9309b4
Switched to a new branch 'bundler-issue-1017'

$ git status
# On branch bundler-issue-1017
nothing to commit (working directory clean)

$ bundle install
Fetching git://github.com/rails/arel.git
remote: Counting objects: 11570, done.
remote: Compressing objects: 100% (4730/4730), done.
remote: Total 11570 (delta 7548), reused 10096 (delta 6472)
Receiving objects: 100% (11570/11570), 1.14 MiB | 224 KiB/s, done.
Resolving deltas: 100% (7548/7548), done.
Fetching git://github.com/rack/rack.git
remote: Counting objects: 5546, done.
remote: Compressing objects: 100% (2287/2287), done.
remote: Total 5546 (delta 3547), reused 5035 (delta 3187)
Receiving objects: 100% (5546/5546), 981.13 KiB | 207 KiB/s, done.
Resolving deltas: 100% (3547/3547), done.
Fetching git://github.com/brynary/rack-test.git
remote: Counting objects: 1712, done.
remote: Compressing objects: 100% (687/687), done.
remote: Total 1712 (delta 871), reused 1626 (delta 817)
Receiving objects: 100% (1712/1712), 176.28 KiB | 132 KiB/s, done.
Resolving deltas: 100% (871/871), done.
Fetching git://github.com/brianmario/mysql2.git
remote: Counting objects: 2427, done.
remote: Compressing objects: 100% (972/972), done.
remote: Total 2427 (delta 1385), reused 2130 (delta 1202)
Receiving objects: 100% (2427/2427), 295.37 KiB | 159 KiB/s, done.
Resolving deltas: 100% (1385/1385), done.
Fetching source index for http://rubygems.org/
Could not find gem 'bcrypt-ruby (~> 2.1.4)', required by 'rails', in any of the sources
@indirect indirect closed this May 16, 2011
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment