Gem is very slow

On my server, the search is fast, but on my local machine, search queries are slow. Can I do something to speed up the search for my gems?

+4
source share
3 answers

The solution from Doc Snuggles really works.

But it should be noted that your gem command probably lives in a gemset, that is:

 rvm info | grep gem 

will tell you where the gem script lives.

Then edit it and add a magic line before any other require :

 require 'resolv-replace' 
+3
source

Perhaps you could try the following:

In the gem (mines in / usr / local / bin / gem), add this line before any other code:

requires "resolv-replace"

0
source

remove some gems (do not hold back). make sure you are using the latest version. do you use windows [if so, 1.9.1 is slower with gem lists for some reason] -r

0
source

All Articles