# Moving from ruby ee 1.8.6 to 1.8.7 (ee)

**URL:** <https://www.ruby-forum.com/t/moving-from-ruby-ee-1-8-6-to-1-8-7-ee/183571>\
**Category:** Ruby\
**Created:** [February 16, 2010, 7:03pm UTC](https://www.ruby-forum.com/t/moving-from-ruby-ee-1-8-6-to-1-8-7-ee/183571 "2010-02-16T19:03:37Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![grissom](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/g/ba8739/32.png) [@grissom](https://www.ruby-forum.com/u/grissom)\
**Post date:** [February 16, 2010, 7:03pm UTC](https://www.ruby-forum.com/t/moving-from-ruby-ee-1-8-6-to-1-8-7-ee/183571/1 "2010-02-16T19:03:37Z")

</div>

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?

---

<div class="post-metadata">

**Author:** ![grissom](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/g/ba8739/32.png) [@grissom](https://www.ruby-forum.com/u/grissom)\
**Post date:** [February 17, 2010, 4:20am UTC](https://www.ruby-forum.com/t/moving-from-ruby-ee-1-8-6-to-1-8-7-ee/183571/2 "2010-02-17T04:20:21Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![grissom](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/g/ba8739/32.png) [@grissom](https://www.ruby-forum.com/u/grissom)\
**Post date:** [February 17, 2010, 4:27am UTC](https://www.ruby-forum.com/t/moving-from-ruby-ee-1-8-6-to-1-8-7-ee/183571/3 "2010-02-17T04:27:57Z")

</div>

> > 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.

---

<div class="post-metadata">

**Author:** ![grissom](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/g/ba8739/32.png) [@grissom](https://www.ruby-forum.com/u/grissom)\
**Post date:** [February 17, 2010, 10:30am UTC](https://www.ruby-forum.com/t/moving-from-ruby-ee-1-8-6-to-1-8-7-ee/183571/4 "2010-02-17T10:30:49Z")

</div>

On Feb 17, 4:20 am, Alex DeCaria [removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid)  
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

> **[GitHub - rogerleite/rubygems\_snapshot: Adds snapshot command to gem. This...](https://github.com/rogerleite/rubygems_snapshot)**
>
> Adds snapshot command to gem. This command allow import/export of gems. - GitHub - rogerleite/rubygems\_snapshot: Adds snapshot command to gem. This command allow import/export of gems.

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

HTH,
