无法使用rvm no-same-user错误安装ruby

时间:2011-04-27 12:51:00

标签: ruby rvm

我正在尝试使用rvm来安装ruby 1.8.7,我收到以下错误:

ruby-1.8.7-p334 - #extracting ruby-1.8.7-p334 to /Users/vincent/.rvm/src/ruby-1.8.7-p334
ERROR: Error running 'bunzip2 < '/Users/vincent/.rvm/archives/ruby-1.8.7-p334.tar.bz2' | tar xf --no-same-owner - -C /Users/vincent/.rvm/tmp/rvm_src_50863', please read /Users/vincent/.rvm/log/ruby-1.8.7-p334/extract.log
ERROR: There has been an error while trying to extract the source.  
Halting the installation.
ERROR: There has been an error fetching the ruby interpreter. Halting the installation.

这是日志:

[2011-04-27 14:26:21] bunzip2 < '/Users/vincent/.rvm/archives/ruby-1.8.7-p334.tar.bz2' | tar xf --no-same-owner - -C /Users/vincent/.rvm/tmp/rvm_src_49627
tar: Error opening archive: Failed to open '--no-same-owner': No such file or directory
[2011-04-27 14:34:53] bunzip2 < '/Users/vincent/.rvm/archives/ruby-1.8.7-p334.tar.bz2' | tar xf --no-same-owner - -C /Users/vincent/.rvm/tmp/rvm_src_50007
tar: Error opening archive: Failed to open '--no-same-owner': No such file or directory
[2011-04-27 14:41:20] bunzip2 < '/Users/vincent/.rvm/archives/ruby-1.8.7-p334.tar.bz2' | tar xf --no-same-owner - -C /Users/vincent/.rvm/tmp/rvm_src_50572
tar: Error opening archive: Failed to open '--no-same-owner': No such file or directory
[2011-04-27 14:45:38] bunzip2 < '/Users/vincent/.rvm/archives/ruby-1.8.7-p334.tar.bz2' | tar xf --no-same-owner - -C /Users/vincent/.rvm/tmp/rvm_src_50863
tar: Error opening archive: Failed to open '--no-same-owner': No such file or directory

任何帮助将不胜感激。

1 个答案:

答案 0 :(得分:0)