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
Followed by a ruby -v
:
ruby 1.9.3p194 (2012-04-20 revision 35410) [x86_64-darwin11.4.0]
And then a rvm docs generate
:
Currently 'rvm docs ...' does not work with non-rvm rubies.
I then tried rvm reinstall 1.9.3 && rvm docs generate
. This resulted in the rvm giving me the above error.
How do I generate docs with rvm?
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)you need to use ruby first: