I want to install GC Patched Ruby to do memory profiling in my application. I followed the instructions at http://guides.rubyonrails.org/performance_testing.html#gc and installed a ruby instance in my home directory (I already have another "official" instance for development). This GC Patched ruby instance is working fine.
The problem is when I need to set the stones in this instance, since step 1.8.6 from the above guide tells me what to do. I cannot use the rubygems installation already on my machine because it points to another ruby instance. And I was not able to install another instance of rubygems just for my gc fixed ruby.
That's why I want to know how to properly install rubygems on a GC patch ruby, on a machine that already has another installation of an uncorrected ruby.
source
share