成功使用后几​​天后“未找到" RVM [英] RVM 'not found' after successful usage and a few days later

查看:55
本文介绍了成功使用后几​​天后“未找到" RVM的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

几天前我安装了RVM,效果很好.几天后(现在,我猜是在重新启动几次之后),就像没有安装外壳一样,尽管我可以在我的~/.rvm文件夹中看到所有内容,但外壳显示rvm not found,并且其中还有一个scripts文件夹

I installed RVM a few days ago, which worked perfectly. A few days later (now, after a few reboots I guess), it's like it's not installed, shell says rvm not found although I can see it all in my ~/.rvm folder, and there is also a scripts folder into that.

我尝试在其上重新运行安装脚本,但没有结果(表示它升级了某些内容,没有区别).我尝试了将rvm重新加载到新的shell会话中的命令.我也查看了此问题与解答,没有帮助

I tried rerunning the install script over it, to no result (said it upgraded something, no difference). I tried the command for reloading rvm into new shell sessions. I've also had a look at this Q&A, to no help.

我在这里想念什么?

(我在Ubuntu Natty上)

(I'm on Ubuntu Natty)

推荐答案

我想您的PATH未设置为包括~/.rvm~/.rvm/bin检查

I would guess your PATH is not setup to include ~/.rvm or ~/.rvm/bin check if

echo $PATH 

包括它.如果没有,您将不得不添加诸如此类的东西

includes it. If not you will have to add somthing like

 PATH=$PATH:~/.rvm/bin

到您的〜/.bashrc

to your ~/.bashrc

这篇关于成功使用后几​​天后“未找到" RVM的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆