# Freezing Architecture-Dependent Gems such as Rmagick, Ferret

**URL:** <https://www.ruby-forum.com/t/freezing-architecture-dependent-gems-such-as-rmagick-ferret/93512>\
**Category:** Rails\
**Created:** [April 4, 2006, 8:37am UTC](https://www.ruby-forum.com/t/freezing-architecture-dependent-gems-such-as-rmagick-ferret/93512 "2006-04-04T08:37:29Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![ratcheer](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/r/aca169/32.png) [@ratcheer](https://www.ruby-forum.com/u/ratcheer)\
**Post date:** [April 4, 2006, 8:37am UTC](https://www.ruby-forum.com/t/freezing-architecture-dependent-gems-such-as-rmagick-ferret/93512/1 "2006-04-04T08:37:29Z")

</div>

A lot has been made recently about the need to freeze your gems for  
production deployment on a shared server so your application can  
depend on it’s own gem version instead of being subjected to whatever  
gem is installed on the server, but does this rule of thumb come with  
an exception? Architecture dependent gems such as RMagick, Ferret and  
Unicode have dependencies that cannot be included as a frozen gem, and  
with these types of gems you still are left depending on the one  
installed the server?

Yes or no?

Thanks,

Tim C.  
removed\_email\_address@domain.invalid

---

<div class="post-metadata">

**Author:** ![ratcheer](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/r/aca169/32.png) [@ratcheer](https://www.ruby-forum.com/u/ratcheer)\
**Post date:** [April 6, 2006, 9:46am UTC](https://www.ruby-forum.com/t/freezing-architecture-dependent-gems-such-as-rmagick-ferret/93512/2 "2006-04-06T09:46:33Z")

</div>

same question i would like to ask also??

On 4/4/06, Tim C. [removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid) wrote:

> Yes or no?
> 
> Thanks,
> 
> Tim C.  
> removed\_email\_address@domain.invalid
> 
> * * *
> 
> Rails mailing list  
> removed\_email\_address@domain.invalid  
> [http://lists.rubyonrails.org/mailman/listinfo/rails](http://lists.rubyonrails.org/mailman/listinfo/rails)

–  
Best Regards,  
Niket P.  
For NexusNeo System  
(A Div of NexusNeo System & Exim Pvt. Ltd)  
Tel: +91 79 23244557  
Fax: +91 79 23246531  
E-mail: removed\_email\_address@domain.invalid  
Web: [www.nexusneo.com](http://www.nexusneo.com)

---

<div class="post-metadata">

**Author:** ![ratcheer](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/r/aca169/32.png) [@ratcheer](https://www.ruby-forum.com/u/ratcheer)\
**Post date:** [April 6, 2006, 12:08pm UTC](https://www.ruby-forum.com/t/freezing-architecture-dependent-gems-such-as-rmagick-ferret/93512/3 "2006-04-06T12:08:56Z")

</div>

NexusNeo - Niket P. wrote:

> same question i would like to ask also??

In the vendor directory, you can do ‘gem unpack gemname’. If you do this  
on your local machine/server then you can just upload the directory to  
your host and it should work.

Cheers,

Tom

---

<div class="post-metadata">

**Author:** ![ratcheer](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/r/aca169/32.png) [@ratcheer](https://www.ruby-forum.com/u/ratcheer)\
**Post date:** [April 6, 2006, 1:35pm UTC](https://www.ruby-forum.com/t/freezing-architecture-dependent-gems-such-as-rmagick-ferret/93512/4 "2006-04-06T13:35:15Z")

</div>

Freezing a gem such as redcloth or even Rails itself works just fine  
with gem unpack gemname, but it appears not all gems are created  
equal, and there are gems with architecture dependecies such as RMagic  
which requires the installation of ImageMagick. For a gem such as  
this, you can’t really unpack it into a vendor folder?

True or false?
