我正在尝试使用rvm安装ruby。我在下面的命令中得到以下错误 -
rvm install 1.9.3
提取rubygems-latest-1.8 ......
错误:运行'gunzip<错误 /usr/share/ruby-rvm/archives/rubygems-latest-1.8.tgz | tar xf - -C / usr / share / ruby-rvm / src',请阅读 /usr/share/ruby-rvm/log/ruby-1.9.3-p194/rubygems.extract.log
安装rubygems for /usr/share/ruby-rvm/rubies/ruby-1.9.3-p194/bin/ruby
错误:运行错误 “GEM_PATH =“/ USR /共享/红宝石RVM /宝石/红宝石1.9.3-P194:/usr/share/ruby-rvm/gems/ruby-1.9.3-p194@global:在/ usr /共享/红宝石-rvm /宝石/红宝石1.9.3-P194:/usr/share/ruby-rvm/gems/ruby-1.9.3-p194@global” GEM_HOME = “/ USR /共享/红宝石RVM /宝石/红宝石1.9.3-P194” “/usr/share/ruby-rvm/rubies/ruby-1.9.3-p194/bin/ruby” “/usr/share/ruby-rvm/src/rubygems-latest-1.8/setup.rb”',请阅读 /usr/share/ruby-rvm/log/ruby-1.9.3-p194/rubygems.install.log
以下是日志文件的摘录 -
[2012-07-25 09:29:03] gunzip< /usr/share/ruby-rvm/archives/rubygems-latest-1.8.tgz | tar xf - -C 的/ usr /共享/红宝石RVM / SRC
gzip:stdin:不是gzip格式的tar:这看起来不像tar archive tar:由于先前的错误而退出失败状态 [2012-07-25 09:31:08] gunzip< /usr/share/ruby-rvm/archives/rubygems-latest-1.8.tgz | tar xf - -C 的/ usr /共享/红宝石RVM / SRC
gzip:stdin:不是gzip格式的tar:这看起来不像tar archive tar:由于先前的错误而退出失败状态