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

Closed
emadridm opened this Issue Oct 1, 2012 · 6 comments

Projects

None yet

4 participants

@emadridm
emadridm commented Oct 1, 2012

Hi folks,

I got the

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

message, when I've tried run the command

rvm docs generate

Here https://gist.github.com/3825153, is the command output with the trace flag

@lemoinem
Member
lemoinem commented Oct 1, 2012

Hi @emadridm,

Did you include the complete trace?

I think it's weird there is no more details in the two blocks:

++ /scripts/base :   95 > for entry in '${scripts[@]}'
++ /scripts/base :   96 > source /home/my_name/.rvm/scripts/functions/utility
++ /scripts/base :   95 > for entry in '${scripts[@]}'
++ /scripts/base :   96 > source /home/my_name/.rvm/scripts/functions/init
++ /scripts/base :   95 > for entry in '${scripts[@]}'
++ /scripts/base :   96 > source /home/my_name/.rvm/scripts/functions/cleanup
++ /scripts/base :   95 > for entry in '${scripts[@]}'
++ /scripts/base :   96 > source /home/my_name/.rvm/scripts/functions/env
++ /scripts/base :   95 > for entry in '${scripts[@]}'
++ /scripts/base :   96 > source /home/my_name/.rvm/scripts/functions/rvmrc

Mathieu.

@lemoinem
Member
lemoinem commented Oct 1, 2012

PS: What shell are you using? bash or zsh (if you don't know: what is the result of ps -o comm= $$)?

@emadridm
emadridm commented Oct 1, 2012

Yes, I copied the entire command output. I am using bash.

@mpapis
Member
mpapis commented Oct 3, 2012

@emadridm did you use ruby:

rvm use 1.9.3

?

@mpapis mpapis was assigned Oct 3, 2012
@emadridm
emadridm commented Oct 3, 2012

@mpapis I executed the command rvm use ...

the output of

rvm --trace docs generate

is here https://gist.github.com/3825153

@mravery
mravery commented Oct 3, 2012

I'm experiencing the same issue. I posted to stackoverflow and mpapis re-directed me here. Doing a rvm --trace docs generate results in a very similar backtrace to what emadridm posted.

I'm using rvm 1.16.6 on MacOSX 10.7.4 and bash.

@mpapis mpapis closed this in 94e3170 Oct 3, 2012
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment