运行:
rvm install jruby
报错:
Searching for binary rubies, this might take some time.
Found remote file https://repo1.maven.org/maven2/org/jruby/jruby-dist/9.2.9.0/jruby-dist-9.2.9.0-bin.tar.gz
Checking requirements for ubuntu.
Installing requirements for ubuntu.
Updating systemThere has been an error while updating your system using apt-get
.
It seems that there are some 404 Not Found errors for repositories listed in:
/etc/apt/sources.list
/etc/apt/sources.list.d/*.list
Make sure that all repositories are available from your system and verify your setup by running manually:
sudo apt-get update
Make sure that it works correctly before proceeding with RVM.
If you are working from the GUI instead of the terminal, you might want to verify and fix broken
repositories using “Software & Updates” application.
…
Error running ‘requirements_debian_update_system jruby-9.2.9.0’,
please read /home/fengjutian/.rvm/log/1702351300_jruby-9.2.9.0/update_system.log
Requirements installation failed with status: 100.
解决:
rvm autolibs disable