Joe*_*oel 5 ruby git bash debian rvm
我在新的Debian 6 VirtualBox VM上安装RVM时遇到了麻烦.我安装了所有需要的软件包,并使用了下载安装脚本
(curl -s https://rvm.beginrescueend.com/install/rvm) > rvm
Run Code Online (Sandbox Code Playgroud)
,但在以单个用户身份运行时
bash rvm
Run Code Online (Sandbox Code Playgroud)
我收到以下错误消息:
ERROR: Unable to checkout branch .
Run Code Online (Sandbox Code Playgroud)
安装在这里停止,并且(据我所知)没有安装RVM的文件.
如果我以root身份运行脚本(对于多用户安装),我会收到另一条消息:
Successfully checked out branch ''
Run Code Online (Sandbox Code Playgroud)
安装程序继续并指示成功,但.rvm目录未添加,甚至在修改我的.bash_profile之后,我得到'rvm:command not found'.
我真的很难过.我没有bash或git的经验,所以我不确定'branch'是空白的事实是问题,还是如何继续调试.我在这里学习,所以请不要犹豫,提出问题,以便我们能够解决这个问题.
谢谢.