colinramsay.co.uk

Bundler Freezes on "Fetching source index"

13 Nov 2010

In order to resolve this, first follow the Bundler troubleshooting instructions:

https://github.com/carlhuda/bundler/blob/master/ISSUES.md

Next, if you're using rvm then it might make sense to delete and recreate your gemset, just in case. However, neither of these actions fixed my problem alone. What I needed to do was look at my Gemfile and make it a bit more sensible to help bundler resolve all of my dependencies. From this:

source :rubygems</p>

# common gems here

group :development, :test, :cucumber do
end

group :test, :cucumber do
end

group :test do
end

group :cucumber do
end</code>

To this:

source :rubygems</p>

# common gems here

group :development, :test, :cucumber do
end

group :test, :cucumber do
end</code>

By using less group combinations, bundler has less work to do and doesn't get stuck sorting out what gems you want to install.

Feedback or questions on this post? Create an issue on GitHub.