check first local rubies then remote when --fuzzy --binary, fix #2395
move rvm-installer to functions to avoid partial donload problem