cache Gem.dir and Gem.bindir because Rubygems 1.8 changes them
cache Gem.dir and Gem.bindir because Rubygems 1.8 changes them

specifically, when you call Gem::Installer#install, Rubygems 1.8 overwrites Gem.dir with the :install_path you passed to the Installer
AiyionPrime/bundler,bronzdoc/bundler,seanlinsley/bundler,EthanK28/bundler,Teino1978-Corp/Teino1978-Corp-bundler,carpodaster/bundler,kohgpat/bundler,schaary/bundler,robinboening/bundler,mvz/bundler,CorainChicago/bundler,gregkare/bundler,joshsoftware/bundler,sideci-sample/sideci-sample-bundler,suhastech/bundler,mtscout6/bundler,Elffers/bundler,asymmetric/bundler,dilumnavanjana/bundler,wenderjean/bundler,carpodaster/bundler,wenderjean/bundler,h4ck3rm1k3/bundler,christer155/bundler,chef/bundler,mvz/bundler,Elffers/bundler,ngpestelos/bundler,smlance/bundler,rkh/bundler,mattbrictson/bundler-1,roseweixel/bundler,philnash/bundler,asymmetric/bundler,pjump/bundler,davydovanton/bundler,e2/bundler,haonature888/bundler,mattbrictson/bundler-1,EthanK28/bundler,1337807/bundler,cowboyd/bundler,ximus/bundler,smlance/bundler,agis-/bundler,anil826/bundler,RochesterinNYC/bundler,chulkilee/bundler,asutoshpalai/bundler,AiyionPrime/bundler,simplybusiness/bundler,elovelan/bundler,steved/bundler,jasonkarns/bundler,bronzdoc/bundler,chef/bundler,TimMoore/bundler,PG-kura/bundler,philnash/bundler,jingweno/bundler,suhastech/bundler,Teino1978-Corp/Teino1978-Corp-bundler,r7kamura/bundler,mpapis/bundler,pjump/bundler,cstrahan/bundler,Eric-Guo/bundler,frsyuki/bundler,lmtim/bundler,robinboening/bundler,neslom/bundler,haonature/bundler,elovelan/bundler,zhangkuaiji/bundler,EasonYi/bundler,nju520/bundler,ipmobiletech/bundler,lgierth/bundler,ngpestelos/bundler,neslom/bundler,pivotal-cf-experimental/bundler,danimashu/bundler,zhangkuaiji/bundler,sideci-sample/sideci-sample-bundler,byroot/bundler,mpapis/bundler,anil826/bundler,bundler/bundler,Wirachmat/bundler,eagletmt/bundler,RochesterinNYC/bundler,jaym/bundler,CorainChicago/bundler,chulkilee/bundler,kohgpat/bundler,dilumnavanjana/bundler,PG-kura/bundler,frsyuki/bundler,lmtim/bundler,tgxworld/bundler,danimashu/bundler,patvice/bundler,ximus/bundler,Eric-Guo/bundler,gregkare/bundler,schaary/bundler,twcctz500000/bundler,JuanitoFatas/bundler,Wirachmat/bundler,ligi/bundler,steved/bundler,gentoo/bundler,masarakki/bundler,jingweno/bundler,h4ck3rm1k3/bundler,mdorrance/bundler,patvice/bundler,tgxworld/bundler,jasonkarns/bundler,seanlinsley/bundler,byroot/bundler,jaym/bundler,haonaturel/bundler,simplybusiness/bundler,nju520/bundler,asutoshpalai/bundler,vemmaverve/bundler,ducthanh/bundler,mdorrance/bundler,agis-/bundler,cdwort/bundler,christer155/bundler,bundler/bundler,cdwort/bundler,TimMoore/bundler,joshsoftware/bundler,davydovanton/bundler,EasonYi/bundler,pivotal-cf-experimental/bundler,cstrahan/bundler,ligi/bundler,haocafes/bundler,roseweixel/bundler,masarakki/bundler,ipmobiletech/bundler