carlhuda/bundler — Issue #1640: Update broken when version is flexible
Author: indirect
Created: 2012-01-21 07:46:49+00:00
State: open

Start with this Gemfile:
```
source "http://rubygems.org"

gem "actionpack", "3.1.3"
gem "resque", "1.19.0"
gem "sinatra", "1.3.2"
gem "rack", "1.3.6"
```

Run `bundle install`.
Remove the 1.3.6 version from rack.
Run `bundle update rack`:
```

$ bundle update rack
Fetching gem metadata from http://rubygems.org/.........
Bundler could not find compatible versions for gem "rack":
In Gemfile:
actionpack (= 3.1.3) ruby depends on
rack (~> 1.3.5) ruby

sinatra (= 1.3.2) ruby depends on
rack (1.4.0)
```

The error only seems to appear when sinatra and resque are both present in the top-level Gemfile.