Clean up Rails version detection
Clean up Rails version detection

git-svn-id: 70ab0960c3db1cbf656efd6df54a8f3de72dc710@954 820eb932-12ee-0310-9ca8-eeb645f39767

leminhtuan2015/nginx_capuchino_rails,faraazkhan/myblog,seyedrazavi/publify,jcfausto/publify,sf-wdi-25/publify_debugging_lab,bsiebz/legacyhw,nvgit/typo1,leminhtuan2015/temona_staging,felixitous/typoo,nguyenduyta/deploy-test,pr0d1r2/typo,freeranger/typo,vincenttian/cs169hw5,bikmaeff/CS169.2_hw12,ACPK/typo,saasbook/typo,leminhtuan2015/test_temona,mplstar/blog,leminhtuan2015/portal_staging,vivekv009/inuni-blog,McWild/psdtohtml,shrayus/hw-refactoring-legecy-code,seyedrazavi/publify,drakontia/publify,leminhtuan2015/portal_staging,nvgit/typo1,mrfosip/typo,xwang191/-edX.CS169.2x.hw1,moneyadviceservice/publify,waruboy/publify,tinnywang/typo,matthewliu/saas_hw5,telekomatrix/publify,shaomingtan/publify,Endymion1977/typo,solanolabs/publify,vincenttian/cs169hw5,shaomingtan/publify,tedfrazier/saas_typo,silygose/typo,SF-WDI-LABS/publify_debugging_lab,agiamas/publify,randyramadhana/typo,boostsup/HW5_typo,freibuis/publify,natesholland/typo,backpackerhh/typo,leminhtuan2015/portal_staging,K-and-R/publify,pr0d1r2/typo,mplstar/blog,nvgit/typo1,pr0d1r2/typo,felixitous/typoo,hmallett/publify,sbstn-jmnz/typo,Juuro/publify,tinnywang/typo,saasbook/typo,wizzro/CS169.2x-hw1-2,bsiebz/legacyhw,ndueber/cs-169_hw5,arramos84/cs169-hw5,vincenttian/cs169hw5,moneyadviceservice/publify,natesholland/typo,pr0d1r2/typo,sbstn-jmnz/typo,totzYuta/coding-diary-of-totz,ashrob/typo,ashleymichal/typo,silygose/typo,gvaquez/typo,freeranger/typo,kmathew96/typo,shimolshah/typo-backup,framgia/publify,saasbook/typo,leminhtuan2015/test_temona,edgarpng/typo-blog,leminhtuan2015/portal_staging,xwang191/-edX.CS169.2x.hw1,P5hil/typo,sf-wdi-25/publify_debugging_lab,congchen5/typo,kildem/blog,leminhtuan2015/nginx_capuchino_rails,robinparadise/typo,mozzan/publify,amba178/legacy_code,framgia/publify,alexhuang91/typo,Chickey2/typo,shrayus/hw-refactoring-legecy-code,nguyenduyta/deploy-test,ashrob/typo,whithajess/publify,leminhtuan2015/nginx_capuchino_rails,babaa/foodblog,shimolshah/typo-backup,ashleymichal/typo,mrfosip/typo,pr0d1r2/typo,mozzan/publify,boostsup/HW5_typo,solanolabs/publify,nguyenduyta/deploy-test,boostsup/HW5_typo,waruboy/publify,McWild/psdtohtml,hmallett/publify,Chickey2/typo,pr0d1r2/typo,publify/publify,zsstor/Typo,freeranger/typo,publify/publify,hmallett/publify,moneyadviceservice/publify,McWild/psdtohtml,Endymion1977/typo,amba178/legacy_code,solanolabs/publify,McWild/psdtohtml,blairanderson/that-music-blog,mozzan/publify,leminhtuan2015/test_temona,blairanderson/that-music-blog,aren19/HW_5,agiamas/publify,burakicel/Burakicel.com,kildem/blog,LOSDev/CS169-Homework-5,moneyadviceservice/publify,mplstar/blog,kildem/blog,K-and-R/publify,drakontia/publify,lbiedinger/cs_typo,natesholland/typo,McWild/psdtohtml,freibuis/publify,LOSDev/CS169-Homework-5,backpackerhh/typo,congchen5/typo,wizzro/CS169.2x-hw1-2,matthewliu/saas_hw5,zsstor/Typo,ndueber/cs-169_hw5,seyedrazavi/publify,bikmaeff/CS169.2_hw12,silygose/typo,tedfrazier/saas_typo,leminhtuan2015/temona_staging,khlumzeemee/typo,edgarpng/typo-blog,lbiedinger/cs_typo,LOSDev/CS169-Homework-5,lbiedinger/cs_typo,alexhuang91/typo,SF-WDI-LABS/publify_debugging_lab,khlumzeemee/typo,shimolshah/typo-backup,agiamas/publify,kryptykfysh/saas_typo,K-and-R/publify,LOSDev/CS169-Homework-5,leminhtuan2015/nginx_capuchino_rails,waruboy/publify,whithajess/publify,sf-wdi-25/publify_debugging_lab,P5hil/typo,telekomatrix/publify,aren19/HW_5,ACPK/typo,gvaquez/typo,bsiebz/legacyhw,Juuro/publify,SF-WDI-LABS/publify_debugging_lab,jcfausto/publify,arramos84/cs169-hw5,randyramadhana/typo,sbstn-jmnz/typo,shrayus/hw-refactoring-legecy-code,pr0d1r2/typo,totzYuta/coding-diary-of-totz,jcfausto/publify,backpackerhh/typo,randyramadhana/typo,burakicel/Burakicel.com,blairanderson/that-music-blog,nvgit/typo1,kildem/blog,Juuro/publify,telekomatrix/publify,ndueber/cs-169_hw5,leminhtuan2015/temona_staging,freibuis/publify,zsstor/Typo,bikmaeff/CS169.2_hw12,babaa/foodblog,publify/publify,faraazkhan/myblog,kmathew96/typo,arramos84/cs169-hw5,vivekv009/inuni-blog,robinparadise/typo,ashleymichal/typo,P5hil/typo,felixitous/typoo,whithajess/publify,ACPK/typo,pr0d1r2/typo,kmathew96/typo,kryptykfysh/saas_typo,vivekv009/inuni-blog