Ruby 在Debian上安装rvm会出现一个错误:“0”;rvm“U警告:未找到命令”;

Ruby 在Debian上安装rvm会出现一个错误:“0”;rvm“U警告:未找到命令”;,ruby,rvm,debian,Ruby,Rvm,Debian,我正在尝试在新安装的Debian上安装rvm。但我得到了这个错误: bash: line 234: rvm_warn: command not found 查看安装程序文件的内容,它正试图输出以下消息: Curl returned 141 - it is result of a segfault which means it's Curls fault. Try again and if it crashes more than a couple of times you either nee

我正在尝试在新安装的Debian上安装rvm。但我得到了这个错误:

bash: line 234: rvm_warn: command not found
查看安装程序文件的内容,它正试图输出以下消息:

Curl returned 141 - it is result of a segfault which means it's Curls fault.
Try again and if it crashes more than a couple of times you either need to
reinstall Curl or consult with your distribution manual and contact support.
我尝试重新安装curl,但没有解决问题


有没有办法解决这个问题?

这是两个独立的错误,您需要向RVM报告第一个错误:


第二个问题是您的系统中存在问题,您可以向安装程序添加
--debug
--trace
标志,以查看它在哪些URL上失败,然后您应该能够在没有RVM的情况下复制它-这应该报告回您的发行版,因为
141
是意外的
curl
错误。

感谢您的回复。我删除了我在Debian repos上安装的
curl
版本,并从其网站上下载并安装了更新版本的
curl
。使用这个新版本,我能够安装
rvm