add support for system dependant ruby version configuration, move __rvm_ruby_string_latest after reading defaults from db, fix #2916