Migrating my ruby gems

…i would like to upgrade to 1.8.5.1…but my large gem collection are
preventing…i have so many gems stored into my 1.8.2. Windows directory
structure …is there a quick way to do this???

On 11/6/06, Dave R. [email protected] wrote:

…i would like to upgrade to 1.8.5.1…but my large gem collection are
preventing…i have so many gems stored into my 1.8.2. Windows directory
structure …is there a quick way to do this???

I do:

rename c:\ruby to c:\ruby-182
install 1.8.5 into c:\ruby

then go to C:\ruby-182\lib\ruby\gems\1.8\cache and do
gem install *.gem

I suppose there will be problems with dependencies (order of
installation), so if anything fails, I install the gems individually.

Then I’d do global update and remove older no more needed gems.

Dave R. wrote:

…i would like to upgrade to 1.8.5.1…but my large gem collection are
preventing…i have so many gems stored into my 1.8.2. Windows directory
structure …is there a quick way to do this???

Back up the 1.8.2 folder, copying over the lib/ruby/gems directory from
the backup to the fresh 1.8.5 install, gem update, gem clean. If
rubygems is at least halfways worth its salt as a package manager (which
I hope it does), it should recuperate from that. Futzing with them
manually hopefully won’t be required.

David V.

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