Extract two methods from Installer#run
Extract two methods from Installer#run

Code climate points it as complexity 384.

This build should fail because the master build is failing. I ran the
specs against ruby 2.2.2 only, so don't merge without pass on travis.

cstrahan/bundler,jasonkarns/bundler,tgxworld/bundler,masarakki/bundler,mvz/bundler,steved/bundler,davydovanton/bundler,asutoshpalai/bundler,chulkilee/bundler,patvice/bundler,ngpestelos/bundler,asymmetric/bundler,ipmobiletech/bundler,asymmetric/bundler,wenderjean/bundler,gregkare/bundler,mattbrictson/bundler-1,frsyuki/bundler,nju520/bundler,RochesterinNYC/bundler,bundler/bundler,ligi/bundler,kohgpat/bundler,ximus/bundler,agis-/bundler,chef/bundler,robinboening/bundler,joshsoftware/bundler,ligi/bundler,ipmobiletech/bundler,h4ck3rm1k3/bundler,agis-/bundler,tgxworld/bundler,Eric-Guo/bundler,Elffers/bundler,danimashu/bundler,Elffers/bundler,simplybusiness/bundler,robinboening/bundler,neslom/bundler,davydovanton/bundler,patvice/bundler,chef/bundler,PG-kura/bundler,wenderjean/bundler,ximus/bundler,ngpestelos/bundler,gregkare/bundler,jingweno/bundler,nju520/bundler,EasonYi/bundler,lmtim/bundler,bronzdoc/bundler,bronzdoc/bundler,frsyuki/bundler,Eric-Guo/bundler,chulkilee/bundler,zhangkuaiji/bundler,lmtim/bundler,Wirachmat/bundler,AiyionPrime/bundler,philnash/bundler,philnash/bundler,Teino1978-Corp/Teino1978-Corp-bundler,byroot/bundler,EthanK28/bundler,mpapis/bundler,EthanK28/bundler,seanlinsley/bundler,cdwort/bundler,elovelan/bundler,mdorrance/bundler,joshsoftware/bundler,mpapis/bundler,anil826/bundler,asutoshpalai/bundler,Wirachmat/bundler,steved/bundler,EasonYi/bundler,mattbrictson/bundler-1,pivotal-cf-experimental/bundler,zhangkuaiji/bundler,seanlinsley/bundler,carpodaster/bundler,masarakki/bundler,cstrahan/bundler,christer155/bundler,christer155/bundler,kohgpat/bundler,dilumnavanjana/bundler,jingweno/bundler,roseweixel/bundler,bundler/bundler,cdwort/bundler,carpodaster/bundler,suhastech/bundler,elovelan/bundler,mdorrance/bundler,simplybusiness/bundler,suhastech/bundler,h4ck3rm1k3/bundler,mvz/bundler,AiyionPrime/bundler,neslom/bundler,jasonkarns/bundler,dilumnavanjana/bundler,pivotal-cf-experimental/bundler,Teino1978-Corp/Teino1978-Corp-bundler,anil826/bundler,danimashu/bundler,schaary/bundler,CorainChicago/bundler,byroot/bundler,roseweixel/bundler,CorainChicago/bundler,RochesterinNYC/bundler,PG-kura/bundler,schaary/bundler