【发布时间】:2013-05-13 16:02:05
【问题描述】:
我正在尝试在我的 Ubuntu 机器上安装 RVM。
我使用 curl 来获取 RVM,但是一些 RVM 命令(安装、要求)会抛出这个 apt-get 错误:
There has been error while updating 'apt-get', please give it some time and try again later.
For 404 errors check your sources configured in:
/etc/apt/sources.list
/etc/apt/sources.list.d/*.list
输入 rvm | head -1 返回
rvm is a function
-bash: type: write error: Broken pipe
哪个宝石
/usr/bin/gem
我已选中“以登录 shell 方式运行命令”选项
从此tutorial:
sudo apt-get install curl
curl -L get.rvm.io | bash -s stable --auto
. ~/.bash_profile
rvm requirements - doesn't work properly
我也看过official RVM documentation,不过好像很像。
有什么想法吗?
更新:我设法做到了。我禁用了所有第三方 ppa URL,它安装顺利。
【问题讨论】:
-
你执行的步骤是什么,放在这里。
-
我关注了这个tutorial。我被 rvm 要求卡住了。
-
提到了您问题中的链接。
-
遇到完全相同的问题:(
-
@NinjaTurtle 我安装了“Sublime text”,可能是我的sources.list 文件当时改变了。你也这样做了吗?
标签: ruby-on-rails ruby linux ubuntu