# How to get a list of Gems?

**URL:** <https://www.ruby-forum.com/t/how-to-get-a-list-of-gems/77239>\
**Category:** Ruby\
**Created:** [November 25, 2006, 10:50am UTC](https://www.ruby-forum.com/t/how-to-get-a-list-of-gems/77239 "2006-11-25T10:50:40Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![tesla](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/t/7cd45c/32.png) [@tesla](https://www.ruby-forum.com/u/tesla)\
**Post date:** [November 25, 2006, 10:50am UTC](https://www.ruby-forum.com/t/how-to-get-a-list-of-gems/77239/1 "2006-11-25T10:50:40Z")

</div>

Hi,

I need help in gettng a list of gems. When I use  
gem list --remote

it works but in windows prompt the list is truncated. Increasing the  
buffer does not help.  
I tried to do a dump to a file but it only reads the first line the  
quits

gem list --remote -\> list.txt

Anyone know a trick for this?

-Tesla

---

<div class="post-metadata">

**Author:** ![tesla](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/t/7cd45c/32.png) [@tesla](https://www.ruby-forum.com/u/tesla)\
**Post date:** [November 25, 2006, 10:56am UTC](https://www.ruby-forum.com/t/how-to-get-a-list-of-gems/77239/2 "2006-11-25T10:56:41Z")

</div>

tesla wrote:

> Hi,
> 
> I need help in gettng a list of gems. When I use  
> gem list --remote
> 
> it works but in windows prompt the list is truncated. Increasing the  
> buffer does not help.  
> I tried to do a dump to a file but it only reads the first line the quits
> 
> gem list --remote -\> list.txt

gem list --remote \> list.txt

> Anyone know a trick for this?
> 
> -Tesla

lopex

---

<div class="post-metadata">

**Author:** ![tesla](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/t/7cd45c/32.png) [@tesla](https://www.ruby-forum.com/u/tesla)\
**Post date:** [November 25, 2006, 11:10am UTC](https://www.ruby-forum.com/t/how-to-get-a-list-of-gems/77239/3 "2006-11-25T11:10:42Z")

</div>

Marcin MielÅ¼yÅ„ski wrote:

> > 
> 
> lopex

Duh! what a dummy I am !

Thanks for catching that habitual scripting typo 😉

-Tesla
