重新安装后如何使用rvm生成文档? [英] How do I generate documentation using rvm after a reinstall?
问题描述
我按照 http://rvm.io 上的说明安装了RVM。以下是我所做的: rvm list
:
I installed RVM as per the instructions on http://rvm.io. Here's what I've done: rvm list
:
rvm rubies
=* ruby-1.9.3-p194 [ x86_64 ]
# => - current
# =* - current && default
# * - default
后面是一个 ruby -v
:
Followed by a ruby -v
:
ruby 1.9.3p194 (2012-04-20 revision 35410) [x86_64-darwin11.4.0]
然后一个 rvm docs生成
:
And then a rvm docs generate
:
Currently 'rvm docs ...' does not work with non-rvm rubies.
然后尝试 rvm重新安装1.9.3&& rvm docs生成
。这导致rvm给了我上述错误。
I then tried rvm reinstall 1.9.3 && rvm docs generate
. This resulted in the rvm giving me the above error.
如何使用rvm生成文档?
推荐答案
我正在使用rvm二进制(即我没有从源构建它)。有关详细信息,请参阅此git问题。执行 rvm重新安装1.9.3 --disable-binary
将从源代码构建rvm,并允许您使用rvm生成文档。 (至少1.9.3版)
I am using the rvm binary (i.e. I did not build it from sources). See this git issue for more details. Doing a rvm reinstall 1.9.3 --disable-binary
will build rvm from source and allow you to generate docs with rvm. (At least for version 1.9.3)
这篇关于重新安装后如何使用rvm生成文档?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!