Migrate gems from one Windows install to another?

What’s the easiest way to migrate one set of JRuby gems from one Windows
installed platform (1.6.0.RCsomething) to a newer one (1.6)? I’d use
RVM
gemsets for this on my Mac, and I’m not sure if Pik can do it.

-Nick K.

On Wed, Mar 16, 2011 at 9:58 AM, Nick K. [email protected] wrote:

What’s the easiest way to migrate one set of JRuby gems from one Windows
installed platform (1.6.0.RCsomething) to a newer one (1.6)? I’d use RVM
gemsets for this on my Mac, and I’m not sure if Pik can do it.

Although tedious, simply moving or copying the lib/ruby/gems/1.8
directory between 1.6 installs should work fine.

/Nick

On Wed, Mar 16, 2011 at 9:58 AM, Nick K. [email protected] wrote:

What’s the easiest way to migrate one set of JRuby gems from one Windows
installed platform (1.6.0.RCsomething) to a newer one (1.6)? I’d use RVM
gemsets for this on my Mac, and I’m not sure if Pik can do it.

Although tedious, simply moving or copying the lib/ruby/gems/1.8
directory between 1.6 installs should work fine.

One more tweaky step is that you’ll likely want to copy bin/ over as
well to get the matching gem .bat’s and ruby wrappers and then let the
new JRuby archive overwrite everything in bin/ to get the latest.

I do it all the time with the .tar.gz download and haven’t been
surprised yet other than blowing away my customizations to
bin/jirb_swing :wink:

Jon


blog: http://jonforums.github.com/
twitter: @jonforums

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs