wsl环境安装rvm install jruby报错

文章讲述了在使用RVM安装JRuby时遇到404错误,可能因apt-get更新系统时仓库不可用。解决方法是禁用自动库,确保所有仓库可用并手动运行`sudoapt-getupdate`检查。
摘要由CSDN通过智能技术生成

运行:

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

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值