How to create documentation using rvm after reinstallation?

I installed RVM according to the instructions of http://rvm.io . Here is what I did: rvm list :

 rvm rubies =* ruby-1.9.3-p194 [ x86_64 ] # => - current # =* - current && default # * - default 

The following is ruby -v :

 ruby 1.9.3p194 (2012-04-20 revision 35410) [x86_64-darwin11.4.0] 

And then rvm docs generate :

 Currently 'rvm docs ...' does not work with non-rvm rubies. 

Then I tried rvm reinstall 1.9.3 && rvm docs generate . This led rvm to give me the above error.

How to create docs using rvm?

+1
source share
2 answers

I am using the rvm binary (i.e. I did not create it from sources). See this git question for more details. Running rvm reinstall 1.9.3 --disable-binary will build rvm from the source code and allow you to create documents with rvm. (At least for version 1.9.3)

0
source

you need to use ruby ​​first:

 rvm use 1.9.3 
+1
source

All Articles