Error in installing RVM on MacOS Connection failure resolution

I thought a ladder could solve the problem, but I was naive and wrote down the solution
1. Look up the connection failure domain current IP []

2. Terminal input sudo vi/etc/hosts and a corresponding IP connection failure domain configuration is added to the file, I add the Chinese Hong Kong
save after exit
3. Reexecute the install RVM command and it will be successful

Read More: