more clean versions comparison

fixes yosemite 10.10 issue #13
Merge pull request #1 from railsme/patch-1

more clean versions comparison