您的位置:首页 > 大数据 > 人工智能

ubuntu 下 使用rvm use 以及报rails已安装报没安装处理

2013-11-15 12:46 706 查看
安装rvm后

curl -L get.rvm.io | bash -s stable
但是进入命令行发现,rvm use 报
RVM is not a function, selecting rubies with 'rvm use ...' will not work.
You need to change your terminal emulator preferences to allow login shell.
Sometimes it is required to use `/bin/bash --login` as the command.
Please visit https://rvm.io/integration/gnome-terminal/ for a example.
使用 rails c
程序“rails”尚未安装。  您可以使用以下命令安装:
sudo apt-get install rails


解决办法一
执行_pro
source .bash_profile
方法二
设置以login -shell 方式启动终端(勾选以登录shell方式运行命令)


内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: 
相关文章推荐