rvm:未找到命令MAC OX [英] rvm: command not found MAC OX

查看:666
本文介绍了rvm:未找到命令MAC OX的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

真的,我不知道发生了什么。对不起,如果这个问题是这样的NOOB,但我找不到这个问题的解决方案。


-bash:rvm:command not发现


我尝试过


curl -L https://get.rvm.io | bash -s - --version latest


但仍然没有什么我需要看到ruby版本使用simplecov,因为它不工作从旧的版本从1.9

解决方案

这可能是因为终端没有加载rvm shell配置。



尝试从您的终端执行以下操作:

  $ source〜/ .rvm / scripts / rvm 

然后

  $ type rvm | head -n 1 

如果输出为:

  rvm是一个函数

source〜/ .rvm / scripts / rvm到您的〜/ .bash_profile文件


Really, I don't know what happened. Excuse me if this question is so NOOB, but I can't find the solution for this problem.

-bash: rvm: command not found

I tried this

curl -L https://get.rvm.io | bash -s -- --version latest

but still nothing I need to see the ruby version for use the simplecov because it not works with older version from 1.9

解决方案

It might because the terminal not having rvm shell configuration loaded.

Try following from your terminal:

$ source ~/.rvm/scripts/rvm

then

$ type rvm | head -n 1

If the output is:

rvm is a function

You may need to add "source ~/.rvm/scripts/rvm" to your ~/.bash_profile file

这篇关于rvm:未找到命令MAC OX的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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