tags:

views:

82

answers:

2

hi

On my server searching is fast but on my local machine gem searches are slow. Can I do something for speed up my gem searches?

A: 

Maybe you could try this:

In gem (mine’s at /usr/local/bin/gem), add this line before any other code:

require 'resolv-replace'

Doc Snuggles
thanks for your reply. it doesn't change anything :(
gustavgans
A: 

remove a few gems (couldn't resist). make sure you're on the latest version. are you running windows? [if so, 1.9.1 is slow with gem lists for some reason] -r

rogerdpack
running on ubuntu 9.10
gustavgans
looks like about your only option is to <gulp> use ruby-prof to try and track down which part of gems is taking so long and see if you can speed it up/identify the problem/patch back into rubygems. Make sure you're using the latest version of gems. Could also try building the latest of rubygems...http://github.com/vvs/rubygemsGL.-r
rogerdpack