danchoi / ri.vim

browse ri documentation from Vim
http://github.com/danchoi/ri.vim
MIT License
114 stars 15 forks source link

tip for building RI docs for existing gems #6

Closed sunaku closed 12 years ago

sunaku commented 12 years ago

Hello,

In order to try out your Vim plugin, I had to generate RI docs for my existing gems:

# for global gems
gem list | tr -d '(,)' | awk '{print $1, "--version", $2}' | xargs -n3 gem rdoc --ri --no-rdoc

# for bundled gems
bundle list | tr -d '*(,)' | awk '{print $1, "--version", $2}' | xargs -n3 gem rdoc --ri --no-rdoc

Maybe you could add those commands as a tip in the README?

Cheers.

danchoi commented 12 years ago

Thank you Suraj. I inserted your tip in the latest commit db0563c33fda1623f5ab980a7960a7c83f057602

sunaku commented 12 years ago

Awesome! Thanks.