From the official installation of RVM, the compiler installs the interpreter and the error is solved by this method

  
                  RVM = ruby ​​version manager, which is essentially a set of shell scripts. It is convenient to get the ruby ​​interpreter by compiling from the official source code, which allows multiple versions of the interpreter to coexist in an environment.

There are many benefits to using rvm. You can have multiple ruby ​​versions to run different services at the same time, and each interpreter can have its own gems (third-party libraries). And because it is compiled from the official source code, it can have the latest version of the interpreter for the first time, without the need to wait for the package manager to update, in fact, there is no version 1.9.3 of ruby ​​in apt. And when the old version is used for special purposes, you can install it without worrying about the existing service.

After installing rvm officially and installing all dependencies according to rvm requirement, there is an error compiling the install interpreter:

Retrieving rubygems-There is no checksum for 'http://production.cf. Rubygems.org/rubygems/rubygems-.tgz' or 'rubygems-.tgz', it's not possible to validate it.If you wish to continue with unverified download add '--verify-downloads 1' after the command.There has been been An error while trying to fetch the source. Halting the installation.

Someone gave an answer after the search: It looks like a bug, but it most likely is fixed already as I can not reproduce it, update RVM and try again: rvm Get stable rvm rubygems current

Upgrade rvm, then reinstall rubygems, the problem with the interpreter error is solved.

Copyright © Windows knowledge All Rights Reserved