小编Trè*_*rès的帖子

RVM ruby​​安装错误 - Mac

我试图通过RVM安装以下三个版本的Ruby,每个版本都有自己的一组错误.我更关心的是让最后一个工作,所以我会专注于那个.

rvm install 1.8.7
rvm install 1.9.2
rvm install 1.9.3
Run Code Online (Sandbox Code Playgroud)

rvm install 1.9.3(bash输出)

14:10:41: ~/.rvm/config $ 
rvm install 1.9.3
Fetching yaml-0.1.4.tar.gz to /Users/dionnesaunders/.rvm/archives
Extracting yaml-0.1.4.tar.gz to /Users/dionnesaunders/.rvm/src
ERROR: Error running 'tar mzxf /Users/dionnesaunders/.rvm/archives/yaml-0.1.4.tar.gz -C  /Users/dionnesaunders/.rvm/src ', please read /Users/dionnesaunders/.rvm/log/ruby-1.9.3-p0/yaml/extract.log
Configuring yaml in /Users/dionnesaunders/.rvm/src/yaml-0.1.4.
ERROR: Error running ' ./configure --prefix="/Users/dionnesaunders/.rvm/usr"  ', please read /Users/dionnesaunders/.rvm/log/ruby-1.9.3-p0/yaml/configure.log
Compiling yaml in /Users/dionnesaunders/.rvm/src/yaml-0.1.4.
ERROR: Error running 'make ', please read /Users/dionnesaunders/.rvm/log/ruby-1.9.3-p0/yaml/make.log
Database file /Users/dionnesaunders/.rvm/config/packages does not exist.    
/Users/dionnesaunders/.rvm/scripts/functions/build: line 19: /usr/bin/gcc-4.2: No such file or directory …
Run Code Online (Sandbox Code Playgroud)

ruby macos ruby-on-rails rvm

16
推荐指数
2
解决办法
2万
查看次数

标签 统计

macos ×1

ruby ×1

ruby-on-rails ×1

rvm ×1