简体   繁体   English

试图从Ruby 1.9升级到2.0

[英]trying to upgrade from Ruby 1.9 to 2.0

trying to upgrade from Ruby 1.9 to 2.0 on mac 10.7.5 试图在Mac 10.7.5上从Ruby 1.9升级到2.0

entered the following commands 输入以下命令

rvm get stable
rvm install 2.0.0 \
      --with-openssl-dir=$HOME/.rvm/usr \
      --verify-downloads 1

starts installing and configuring then get error 开始安装和配置,然后出现错误

 Error running '__rvm_make -j 1',
please read /usr/local/rvm/log/1383664449_ruby-2.0.0-p247/make.log  (how do i find this file!=)

I would suggest following this tutorial: Tutorial for RVM 我建议遵循此教程: RVM教程

I had this issue a while ago, and using sudo completely screwed up the permissions on my computer. 我前一段时间遇到这个问题,使用sudo完全弄乱了我计算机上的权限。 You do not want to be using sudo for every command that you generate. 您不想对生成的每个命令都使用sudo。 Make sure that your RVM and RUby 2.0.0 is installed on your system without using sudo. 确保未使用sudo在系统上安装了RVM和RUby 2.0.0。

try sudo rvm install 2.0.0 . 尝试sudo rvm install 2.0.0 this will get you through. 这将使您通过。 If you have installed rvm as a super user, you always need to use sudo 如果您以超级用户身份安装了rvm ,则始终需要使用sudo

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM