Note that there are some explanatory texts on larger screens.

plurals
  1. PO
    primarykey
    data
    text
    <p>Typing <code>gem env</code> (Using your old Ruby install's gem command) at a command prompt gives something similar to:</p> <pre><code>&gt; RubyGems Environment: &gt; - RUBYGEMS VERSION: 1.3.6 &gt; - RUBY VERSION: 1.9.1 (2009-07-16 patchlevel 243) [i386-mingw32] &gt; - INSTALLATION DIRECTORY: C:/Ruby19/lib/ruby/gems/1.9.1 &gt; - RUBY EXECUTABLE: C:/Ruby19/bin/ruby.exe &gt; - EXECUTABLE DIRECTORY: C:/Ruby19/bin &gt; - RUBYGEMS PLATFORMS: &gt; - ruby &gt; - x86-mingw32 &gt; - GEM PATHS: &gt; - C:/Ruby19/lib/ruby/gems/1.9.1 &gt; - C:/Users/Username/.gem/ruby/1.9.1 &gt; - GEM CONFIGURATION: &gt; - :update_sources =&gt; true &gt; - :verbose =&gt; true &gt; - :benchmark =&gt; false &gt; - :backtrace =&gt; false &gt; - :bulk_threshold =&gt; 1000 &gt; - REMOTE SOURCES: &gt; - http://rubygems.org/ </code></pre> <p>(On Windows... I imagine Snow Leopard will have a similar format)</p> <p>The GEM PATHS field is the interesting thing here. If you go to those directories listed, you should see a folder named <strong>cache</strong>. That will contain a list of .gem files corresponding to all the installed gems in that specific directory. You should just be able to call <code>gem install *gemname*</code> on each of those gem files (using your <em>new</em> Ruby install's gem command).</p> <p>EDIT: Mistakenly referred to INSTALLATION DIRECTORY instead of GEM PATHS. Greg reminded me that there are multiple locations known by a specific installation of Rubygems. All of those locations needs to be checked for gems used by that installation of Ruby.</p>
    singulars
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. VO
      singulars
      1. This table or related slice is empty.
    2. VO
      singulars
      1. This table or related slice is empty.
    3. VO
      singulars
      1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload