carlhuda/bundler — pull request #1567 by tenderlove (2011-11-30 22:19:53+00:00)
Title: do not clear RG cache unless we actually modify GEM_PATH and GEM_HOME

Clearning rubygems cache causes all gemspecs to be re-read from disk. This patch only clears rubygem's cache when GEM_HOME and GEM_PATH are actually changed.