Moving from ruby ee 1.8.6 to 1.8.7 (ee)

Hello

I’ve decide to upgrade my ruby ee from 1.8.6 to 1.8.7 on debian. I’ve
copied all gems from /opt/ruby-enterprise/ to new location but
unfortunatelly it doesnt work, do I’ve to reinstall all gems?

Rafath Khan wrote:

Hello

I’ve decide to upgrade my ruby ee from 1.8.6 to 1.8.7 on debian. I’ve
copied all gems from /opt/ruby-enterprise/ to new location but
unfortunatelly it doesnt work, do I’ve to reinstall all gems?

You could copy the gems directory from your 1.8.6 installation to the
1.8.7 installation (if you haven’t uninstalled the old one yet). But
otherwise, I believe you will have to reinstall any gems you are using.

–Alex

Hello

I’ve decide to upgrade my ruby ee from 1.8.6 to 1.8.7 on debian. I’ve
copied all gems from /opt/ruby-enterprise/ to new location but
unfortunatelly it doesnt work, do I’ve to reinstall all gems?

Any gems that require native extensions will probably not work just by
copying them, you will have to reinstall them.

If you still have your 1.8.6 install, you can see a list of installed
gems by doing ‘gem list --local’, which should help you in
reinstalling them on the new version.

-Jonathan N.

On Feb 17, 4:20 am, Alex DeCaria [email protected]
wrote:

Rafath Khan wrote:

Hello

I’ve decide to upgrade my ruby ee from 1.8.6 to 1.8.7 on debian. I’ve
copied all gems from /opt/ruby-enterprise/ to new location but
unfortunatelly it doesnt work, do I’ve to reinstall all gems?

It is recommended since gems with binary extensions will be trying to
link to a different Ruby shared object that could expose a different
ABI (in theory).

You can simply do the following:

gem install rubygems_snapshot

then export the list of gems you currently have and import it on your
newer installation.

HTH,