larsch/ocra — pull request #37 by DavidMikeSimon (2011-11-14 15:23:00+00:00)
Title: Debugging bundler/Gemfile issues

Trying to figure out what's going on in some of the problems people are talking about on the mailing list, I noticed that both problems seem to be related to Bundler's gem not being included.

I am unable to reproduce this problem myself. However I try it, bundler is automatically included in the list of gems loaded from any Gemfile, even very simple Gemfiles with one gem, and even with the version of Bundler that the people on the mailing list are using.

But assuming that that's what is going wrong with these other systems, perhaps this patch will help. It looks through the gem list after a Gemfile has been scanned, and if bundler isn't already in that list, it adds it manually.