newbie trouble with RubyGems

D

Don

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?
 
J

Jim Weirich

Don said:
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
 
J

Jim Weirich

David said:
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.
 

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
474,202
Messages
2,571,057
Members
47,664
Latest member
RoseannBow

Latest Threads

Top