gem installation without documentation

S

Sy Ali

I've got Ruby running on my palmtop, and I don't want to waste the
extra space with ri or RDoc documentation for certain gems. I did
some hunting and couldn't find a simple answer for my questions so I
thought I'd ask here.

How can I do a "gem install" and _not_ generate that documentation?
How would i "uninstall" certain already-installed documentation?
(just find and delete it?)
 
R

rob

I've got Ruby running on my palmtop, and I don't want to waste the
extra space with ri or RDoc documentation for certain gems. I did
some hunting and couldn't find a simple answer for my questions so I
thought I'd ask here.

How can I do a "gem install" and _not_ generate that documentation?
How would i "uninstall" certain already-installed documentation?
(just find and delete it?)

I believe you can pass --no-rdoc and --no-ri to the gem command.
 
T

Thomas Wieczorek

2007/7/31 said:
How can I do a "gem install" and _not_ generate that documentation?
How would i "uninstall" certain already-installed documentation?
(just find and delete it?)

Try "gem help install". It will list you all options including
--no-rdoc and --no-ri as Rob mentioned them
 
S

Sy Ali

Try "gem help install". It will list you all options including
--no-rdoc and --no-ri as Rob mentioned them

Aha. I worked through some of the help system but misunderstood how
to use it. I see what you're talking about now, thanks.

So I guess I can uninstall the gems and then reinstall them without
the documentation, and that should clean things up nicely.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,787
Messages
2,569,630
Members
45,334
Latest member
66Zeinab9

Latest Threads

Top