[lnkForumImage]
TotalShareware - Download Free Software

Confronta i prezzi di migliaia di prodotti.
Asp Forum
 Home | Login | Register | Search 


 

Forums >

comp.lang.ruby

newbie trouble with RubyGems

Don

2/16/2006 12:41:00 AM

This is a newbie question. I used OneClick to install Ruby onto my
Windows XP machine. OneClick installed RubyGems. When I try the command

gem list â??remote

the commands prints

*** REMOTE GEMS ***

to the console and then just hangs. Is there some config file somewhere
where I am supposed to tell â??gemâ? where to look for remote gems?


--
Posted via http://www.ruby-....


2 Answers

Jim Weirich

2/16/2006 5:54:00 AM

0

Don wrote:
> This is a newbie question. I used OneClick to install Ruby onto my
> Windows XP machine. OneClick installed RubyGems. When I try the command
>
> gem list â??remote
>
> the commands prints
>
> *** REMOTE GEMS ***
>
> to the console and then just hangs. Is there some config file somewhere
> where I am supposed to tell â??gemâ? where to look for remote gems?

If you are behind a firewall and need an http proxy, make sure that you
have your http_proxy environment variable set correctly.

And sometimes the command takes a few minutes to complete when
downloading the master gem index from rubyforge. Make sure that it is
really hung and not just slow.

-- Jim Weirich

--
Posted via http://www.ruby-....


Jim Weirich

2/16/2006 2:25:00 PM

0

David Vallner wrote:
> Is local caching of the gem index in the works by any chance?

The gem index is already locally cached. The problem is that the index
updates so often that it needs refreshed often.

What is in the works is an incremental refresh so that you only download
the portion of the index that has changed, instead of the entire index.

--
-- Jim Weirich

--
Posted via http://www.ruby-....