small fix on ruby_version check
small fix on ruby_version check

The ruby version check could happen before Rails.logger gets intialized
so we cannot assume that Rails.logger is not nil.
Example: https://travis-ci.org/errbit/errbit/jobs/8719703

Subskii/mongoid,joelcogen/mongoid,sepastian/mongoid,fredjean/mongoid,tzar/mongoid,hbakhtiyor/mongoid,timgluz/mongoid,jonhyman/mongoid,tzar/mongoid,charliehq/mongoid,etomic/mongoid,itbakery/mongoid,jasl/mongoid,kay-kim/mongoid,gullitmiranda/mongoid,kcdragon/mongoid,luxerama/mongoid,Welovroi/mongoid,drfeelngood/mongoid,grossws/mongoid,zBMNForks/mongoid,hxx/mongoid,jonhyman/mongoid,subhashb/mongoid,jasl/mongoid,mgartner/mongoid,rinmu/mongoid,estolfo/mongoid,etomic/mongoid,rafaelgaspar/mongoid,zenjoy/mongoid,rafaelgaspar/mongoid,narutosanjiv/mongoid,wuboy0307/mongoid,kay-kim/mongoid,sivagollapalli/mongoid,mongodb/mongoid,kayakyakr/mongoid,bjori/mongoid,demarque/mongoid,praecipula/mongoid,tricknotes/mongoid,sepastian/mongoid,zBMNForks/mongoid,infiverve/mongoid,tricknotes/mongoid,aleksclark/mongoid,johnnyshields/mongoid,mschulkind/mongoid,itbakery/mongoid,zaithottakath/mongoid,canvas-drw/mongoid,Azzurrio/mongoid,janroesner/mongoid,hbakhtiyor/mongoid,rinmu/mongoid,hashrocketeer/mongoid,abezzub/mongoid,gullitmiranda/mongoid,Welovroi/mongoid,narutosanjiv/mongoid,drobune/mongoid,mongoid/mongoid,mongoid/mongoid,sideci-sample/sideci-sample-mongoid,rpocklin/mongoid,eljojo/mongoid,mgartner/mongoid,cao7113/mongoid,imomoisoft/mongoid,simi/mongoid,rubrikkfabrikken/mongoid,camallen/mongoid,hashrocketeer/mongoid,chetan/mongoid,kuadrosx/mongoid,karmakaze/mongoid,blackxored/mongoid,crowdtap/mongoid,dustinwatson/mongoid,nviennot/mongoid,imomoisoft/mongoid,cmpolis/mongoid,elia/mongoid,sideci-sample/sideci-sample-mongoid,nicolasblanco/mongoid,herimedia/mongoid,kcdragon/mongoid,estolfo/mongoid,charliehq/mongoid,crowdtap/mongoid,amw/mongoid,kevinmarvin/mongoid,jtescher/mongoid,Subskii/mongoid,johnnyshields/mongoid,bencrouse/mongoid,praecipula/mongoid,gregmolnar/mongoid,aj0strow/mongoid,SumeruSoftware/mongoid,drfeelngood/mongoid,asantamar/mongoid,nusco/mongoid,subhashb/mongoid,camallen/mongoid,nviennot/mongoid,krasnoukhov/mongoid,X0nic/mongoid,blackxored/mongoid,stnguyen/mongoid,captain-lucas/mongoid,zenjoy/mongoid,jbrien/mongoid,dbkbali/mongoid,drobune/mongoid,Numerico/mongoid,kentaroi/mongoid,PerfectMemory/mongoid,codedogfish/mongoid,mysociety/mongoid,aj0strow/mongoid,dustinwatson/mongoid,parov/mongoid,jbrien/mongoid,SumeruSoftware/mongoid,X0nic/mongoid,matbox/mongoid,aleksclark/mongoid,Zhomart/mongoid,wuboy0307/mongoid,matbox/mongoid,uniiverse/mongoid,simi/mongoid,nusco/mongoid,elia/mongoid,bjori/mongoid,robwil/mongoid,greggroth/mongoid,dbkbali/mongoid,joelcogen/mongoid,Numerico/mongoid,CIRCUITLLC/mongoid,gregmolnar/mongoid,greggroth/mongoid,kuadrosx/mongoid,chetan/mongoid,demarque/mongoid,eljojo/mongoid,mschulkind/mongoid,stnguyen/mongoid,karmakaze/mongoid,trmmy/mongoid,Azzurrio/mongoid,mongodb/mongoid,sivagollapalli/mongoid,arnkorty/mongoid,hxx/mongoid,janroesner/mongoid,mysociety/mongoid,infiverve/mongoid,joshsoftware/mongoid,rpocklin/mongoid,codedogfish/mongoid,luxerama/mongoid,joshsoftware/mongoid,mongodb/mongoid,glebtv/mongoid,amw/mongoid,Sharevari-Inc/mongoid,Sharevari-Inc/mongoid,abezzub/mongoid,uniiverse/mongoid,timgluz/mongoid,grossws/mongoid,canvas-drw/mongoid,zaithottakath/mongoid,jtescher/mongoid,CIRCUITLLC/mongoid,herimedia/mongoid,johnny-miyake/mongoid,kayakyakr/mongoid,robwil/mongoid,kentaroi/mongoid,kevinmarvin/mongoid,PerfectMemory/mongoid,glebtv/mongoid,bencrouse/mongoid,arnkorty/mongoid,asantamar/mongoid,cmpolis/mongoid,parov/mongoid,rubrikkfabrikken/mongoid,Zhomart/mongoid,captain-lucas/mongoid,krasnoukhov/mongoid,mattconnolly/mongoid,cao7113/mongoid,mattconnolly/mongoid,johnny-miyake/mongoid,fredjean/mongoid,trmmy/mongoid