RVM 1.0.2无法构建ruby 1.9.2

时间:2010-09-05 18:00:32

标签: ruby-1.9 rvm

每次都失败。我跑了rvm remove 1.9.2然后rvm install 1.9.2. 错误如下所示:

info: Applying patch '' (located at /)

error: Error running 'patch -F25 -p1 -f <"/"', 
       please check /Users/peter/.rvm/log/ruby-1.9.2-p0/patch.apply.*.log

fail: There has been an error applying the specified patches. 
      Aborting the installation.

日志显示:

[2010-09-05 19:38:14] patch -F25 -p1 -f <"/"
patch: **** read error : Is a directory

这适用于rvm 1.0.1。

知道怎么回事以及如何将rvm回滚到1.0.1?

1 个答案:

答案 0 :(得分:1)

对我来说,只需运行rvm update(不使用--head)就可以正确安装Ruby 1.9.2。