clean and improve __rvm_record_ruby_configs, fix #2090