您的位置:首页 > 运维架构 > Linux

Centos6.5安装RVM

2015-12-26 12:46 471 查看
安装curl

sudo yum install curl

然后在在终端中输入命令

curl -L get.rvm.io | bash -s stable
有可能会失败



按照提示使用使用命令

curl -sSL https://rvm.io/mpapis.asc | gpg2 --import -



继续在终端中

curl -L get.rvm.io | bash -s stable



查找配置文件

find / -name rvm.sh
并使配置文件生效

source /etc/profile.d/rvm.sh



下载RVM依赖
rvm requirements




继续

rvmsudo yum install -y gcc-c++ patch readline readline-devel zlib zlib-devel libyaml-devel libffi-devel openssl-devel make bzip2 autoconf automake libtool bison iconv-devel


到这就应该搞定了,若是若是还不行继续参考How To Install Ruby on Rails on CentOS 6 with RVM
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: