在 /usr/local/rvm/scripts/rvm 中安装 rvm 时出错
我试图在我的笔记本电脑(ubuntu 11.10)中设置rvm,
当我发出命令时
bash -s stable < <(curl -s https://raw.github.com/wayneeseguin/rvm/master/binscripts/rvm-installer)
,它不显示安装步骤,就像我在桌面(ubuntu)中运行相同的命令
以及当我给出rvm时 那样 或rvm安装1.9.3
它抛出错误,就像
/usr/bin/rvm: line 54: /usr/local/rvm/scripts/rvm: No such file or directory
我修改了 bashrc 和 bash_profile 使用
echo '[[ -s "$HOME/.rvm/scripts/rvm" ]] && . "$HOME/.rvm/scripts/rvm"' >> ~/.bashrc
但 rvm 没有运行并抛出错误,
/usr/bin/rvm: line 54: /usr/local/rvm/scripts/rvm: No such file or directory
请建议我修复此问题。
i am trying to set up rvm in my laptop (ubuntu 11.10)
when i gave the command
bash -s stable < <(curl -s https://raw.github.com/wayneeseguin/rvm/master/binscripts/rvm-installer)
its not displaying the installing steps as it did when i ran the same command in my desktop(ubuntu )
and when i gave rvm
or rvm install 1.9.3
its throwing error like
/usr/bin/rvm: line 54: /usr/local/rvm/scripts/rvm: No such file or directory
i have modified the bashrc and bash_profile using
echo '[[ -s "$HOME/.rvm/scripts/rvm" ]] && . "$HOME/.rvm/scripts/rvm"' >> ~/.bashrc
But rvm is not running and throwing errors as
/usr/bin/rvm: line 54: /usr/local/rvm/scripts/rvm: No such file or directory
Please suggest me in fixing this.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
在开始之前,请先清理您的系统:
您还可以按照以下步骤操作:使用 RVM 安装了 Ruby 1.9.3,但命令行不显示 ruby -v
然后打开新的控制台并确保没有旧内容指向
/usr/local/rvm
:在它为空或
~/.rvm
之后,您可以运行再次安装程序,一切都应该没问题before you start please clean your system first:
you can additionally folow this steps: Installed Ruby 1.9.3 with RVM but command line doesn't show ruby -v
then open fresh console and make sure no old stuff points to
/usr/local/rvm
:after it's empty or
~/.rvm
you can run installer again and all should be fine