RVM setup on Mac OS X Lion 10.7.3 won't build RI documetation

Just wondering if anyone has seen this before… now matter what I do on
one of my systems I always get this error:

adsl:~ dsouza$ rvm use 1.9.3
Using /Users/dsouza/.rvm/gems/ruby-1.9.3-p125
adsl:~ dsouza$ rvm docs generate
‘rvm docs …’ requires ruby sources to be available, run `rvm reinstall
ruby-1.9.3-p125

I have done a rm -rf ~/.rvm/ and completely re-installed from scratch as
well as done the rvm reinstall as well…

just wondering if anyone has seen this before… it only happened on 1
of my 3 systems… The other 2 systems (Mac OS X Lion 10.7.3) all worked
fine.

On Mar 27, 2012, at 10:11 , David Souza wrote:

I have done a rm -rf ~/.rvm/ and completely re-installed from scratch as
well as done the rvm reinstall as well…

just wondering if anyone has seen this before… it only happened on 1
of my 3 systems… The other 2 systems (Mac OS X Lion 10.7.3) all worked
fine.

Never seen that before… I’d look at env vars that are different… but
in the meantime, rsync is your friend.

On my lion I had to install Xcode 4.3.1 And then after that the Xcode
command line tools. I can’t recall the exact error I was getting but
following the rvm install and build instructions all was well. Hope I
helped

Sent from my iPhone

I saw some similar message

$ rvm docs generate
Currently ‘rvm docs …’ does not work with non-rvm rubies.

so I did

$ rvm use default
Using /Users/chrisd-s/.rvm/gems/ruby-1.9.3-p125 with gemset

rails3tutorial

and then
$ rvm docs generate

worked fine. I notice that on my output I have a gemset associated with
my
ruby. Maybe you are missing a gem?

On Wed, Mar 28, 2012 at 6:01 PM, DeKonink, Christian
[email protected]wrote:

and then
$ rvm docs generate

worked fine. I notice that on my output I have a gemset associated with my
ruby. Maybe you are missing a gem?

Did you update the Gemfile file and run bundle install ?

David

‘rvm docs …’ requires ruby sources to be available, run `rvm reinstall
ruby-1.9.3-p125

just wondering if anyone has seen this before… it only happened on 1
of my 3 systems… The other 2 systems (Mac OS X Lion 10.7.3) all worked
fine.

I’m having exactly the same issue on a plain Linux, not Mac. Seems to be
an RVM issue. The reason why you are not having it on the other 2
systems have an older RVM.

I’ve successfully used this workaround for now:

$ cd ~/.rvm/src
$ rvm docs generate-ri

NOTE: I maintain up-to-date RI generation recipes here:
ori/README_RI_CORE.md at master · dadooda/ori · GitHub.

@RVM authors, @Wayne, @Michal

This RVM version seems to be affected:

$ rvm --version
rvm 1.11.3 () by Wayne E. Seguin <[email protected]>, Michal P.
<[email protected]> [https://rvm.beginrescueend.com/]

Please consider fixing the heading lines of ~/.rvm/docs since they
seem to mis-calculate the docs path:

Line 15:

if [[ ! -d "$rvm_docs_ruby_string" ]]
# `$rvm_docs_ruby_string` is `1.9.3-p125` at this point.

Alex

fixed with 42488b3, new version released - 1.12.3

This forum is not a way of communication with RVM Authors, we already
follow:

  • Github Issues
  • Google mailing group
  • Direct help at #rvm IRC channel at freenode servers
  • Stackoverflow (this one is only followed by me)