我跟着从RVM主页(https://rvm.beginrescueend.com/rvm/install/)的说明RVM安装失败
我键入以下内容:
sudo bash -s stable < <(curl -s https://raw.github.com/wayneeseguin/rvm/master/binscripts/rvm-installer)
执行脚本和似乎没有给出任何错误。
没有sudo同样给了一个错误:
Warning: Failed to create the file
Warning: /usr/share/ruby-rvm/archives/wayneeseguin-rvm-stable.tgz: Permission
Warning: denied
0 792k 0 3908 0 0 2257 0 0:05:59 0:00:01 0:05:58 2257
curl: (23) Failed writing body (0 != 3908)
Could not download 'https://github.com/wayneeseguin/rvm/tarball/stable'.
curl returned status '23'.
我也把这个在我的〜/ .bashrc
echo '[[ -s "$HOME/.rvm/scripts/rvm" ]] && . "$HOME/.rvm/scripts/rvm"
什么,我得到的是:
~$ type rvm | head -1
bash: type: rvm: not found
~$ source "/usr/local/rvm/scripts/rvm"
bash: /usr/local/rvm/scripts/rvm: No such file or directory
~$ source "$HOME/.rvm/scripts/rvm"
bash: /home/anonym/.rvm/scripts/rvm: No such file or directory
哪有这是固定的?
PS
我使用Ubuntu 11.10
您是否尝试在更改.bashrc后重新加载会话?要做到这一点,请使用'source〜/ .bashrc'或打开新的终端窗口。 – 2011-12-23 03:53:27
当然,我都尝试过。 – gisek 2011-12-23 04:13:14
您是否试图为您自己的个人开发安装RVM,或者为共享主机上的所有用户安装RVM?除非你是一个系统管理员为每个人做它,否则你应该使用单用户安装,每个RVM的安装页面。 – 2011-12-24 19:28:27