How to make document?

I have installed gems in my machine.

When I run “gem list” command the I got locally installed gem in output.

By using “gem list” command Is it possible to make document? If yes then
how can I make it?

Kind regards,

If you want to pipe the results to a text file:

gem list > listfile.txt

Joel P. wrote in post #1142278:

If you want to pipe the results to a text file:

gem list > listfile.txt

Thank you very much. It’s work.

Kind regards.