I'm just starting to learn ruby/rails and I have followed the instructions to install ruby on OSX lion from pragmaticstudio.com
I have now got ruby 1.9.2 and 1.9.3 installed on my MacBook. However when I try and generate the documentation using:
sudo rvm docs generate
I get the error:
ERROR: Currently 'rvm docs ...' does not work with non-rvm rubies.
Has anyone else seen this, is there something obvious that I'm missing?
The actual steps I took to install ruby was:
- sudo rvm install 1.9.3
- sudo rvm use 1.9.3
- sudo ruby -v prints ruby 1.9.3dev (2011-07-31 revision 32789) [x86_64-darwin11.2.0]
- ruby -v prints ruby 1.9.3dev (2011-07-31 revision 32789) [x86_64-darwin11.2.0]
- sudo rvm --default 1.9.3
- Then I try and run "sudo rvm docs generate" but I get the error about non-rvm ruby
Thanks Alan.