Warning: file_get_contents(/data/phpspider/zhask/data//catemap/9/loops/2.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Macos 正在尝试安装RVM 1.8.7_Macos_Rvm_Osx Lion - Fatal编程技术网

Macos 正在尝试安装RVM 1.8.7

Macos 正在尝试安装RVM 1.8.7,macos,rvm,osx-lion,Macos,Rvm,Osx Lion,我正在尝试安装rvm 1.8.7。我尝试使用的命令是:rvm install 1.8.7 我收到此错误:rvm:command not found 我不熟悉系统配置和rvm,有人能给我指出正确的方向吗 我正在使用MacOSX10.7(Lion) 我以前没有安装rvm 如果您已经安装了rvm,那么问题是您的path envvar中没有rvm的路径。在.bash_配置文件中包括以下内容: export PATH=$PATH:/path/to/rvm/bin/directory 如果您的系统上没有r

我正在尝试安装rvm 1.8.7。我尝试使用的命令是:
rvm install 1.8.7

我收到此错误:
rvm:command not found

我不熟悉系统配置和rvm,有人能给我指出正确的方向吗

我正在使用MacOSX10.7(Lion)


我以前没有安装rvm

如果您已经安装了rvm,那么问题是您的path envvar中没有rvm的路径。在.bash_配置文件中包括以下内容:

export PATH=$PATH:/path/to/rvm/bin/directory

如果您的系统上没有
rvm
,请按照此处的说明操作:。基本上,您必须下载一个shell脚本来完成这项工作(获取最新版本并安装它)。然后,只需添加

[[ -s "$HOME/.rvm/scripts/rvm" ]] && . "$HOME/.rvm/scripts/rvm"                 

在您的
.profile
.bash\u profile
中,或者您使用。

我以前没有安装rvm。这就是我想做的。