# Freezing gems other than Rails

**URL:** <https://www.ruby-forum.com/t/freezing-gems-other-than-rails/127633>\
**Category:** Rails\
**Created:** [January 30, 2008, 11:49pm UTC](https://www.ruby-forum.com/t/freezing-gems-other-than-rails/127633 "2008-01-30T23:49:39Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![bparanj](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/b/e9a140/32.png) [@bparanj](https://www.ruby-forum.com/u/bparanj)\
**Post date:** [January 30, 2008, 11:49pm UTC](https://www.ruby-forum.com/t/freezing-gems-other-than-rails/127633/1 "2008-01-30T23:49:39Z")

</div>

I came across Topfunky’s rake task that can be used to freeze gems that  
is  
not related to Rails. But it seems to be outdated, so I read this

> **[Vendor Everything — err.the\_blog](http://errtheblog.com/posts/50-vendor-everything)**
>
> Err the Blog: Ruby and Rails from the front.

How do I get the gems that is used by the Rails app to the vendor gems  
directory? Does anyone have step-by-step instructions? TIA.

–  
[http://www.rubyplus.org/](http://www.rubyplus.org/)  
Free Ruby and Rails Screencasts

---

<div class="post-metadata">

**Author:** ![bparanj](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/b/e9a140/32.png) [@bparanj](https://www.ruby-forum.com/u/bparanj)\
**Post date:** [January 31, 2008, 12:34am UTC](https://www.ruby-forum.com/t/freezing-gems-other-than-rails/127633/2 "2008-01-31T00:34:19Z")

</div>

On 1/30/08, Bala P. [removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid) wrote:

> I came across Topfunky’s rake task that can be used to freeze gems that is  
> not related to Rails. But it seems to be outdated, so I read this  
> [Vendor Everything — err.the\_blog](http://errtheblog.com/posts/50-vendor-everything)
> 
> How do I get the gems that is used by the Rails app to the vendor gems  
> directory? Does anyone have step-by-step instructions? TIA.

It’s actually in the article you referenced. You need to manually  
create the gems data and bin directories in vendor.

Read the comments carefully, I’m not sure that the questions about how  
to properly handle gems which need building of C extensions was  
answered, and I don’t see where the issue of dealing with deploying to  
a different platform type than the development machine was even asked.

–  
Rick DeNatale

My blog on Ruby  
[http://talklikeaduck.denhaven2.com/](http://talklikeaduck.denhaven2.com/)
