# Freezing blucloth gem into an app?

**URL:** <https://www.ruby-forum.com/t/freezing-blucloth-gem-into-an-app/147412>\
**Category:** Rails\
**Created:** [September 1, 2008, 4:25pm UTC](https://www.ruby-forum.com/t/freezing-blucloth-gem-into-an-app/147412 "2008-09-01T16:25:43Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![helix\_tp](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/h/ed655f/32.png) [@helix\_tp](https://www.ruby-forum.com/u/helix_tp)\
**Post date:** [September 1, 2008, 4:25pm UTC](https://www.ruby-forum.com/t/freezing-blucloth-gem-into-an-app/147412/1 "2008-09-01T16:25:43Z")

</div>

Any suggestions on freezing bluecloth [1] into an app? It has a  
non-standard install [2], and when I used  
[http://gemsonrails.rubyforge.org/](http://gemsonrails.rubyforge.org/) to freeze it into a rails app, I get  
this on startup:

ERROR: Please update  
/home/dhaskin/workspace/bsg-1.11/vendor/gems/BlueCloth-1.0.0/init.rb  
with the require path for linked RubyGem BlueCloth  
Exiting

and I’m not completely sure how to address this.

Thanks!

dwh

[1] [dev(E)iate](http://www.deveiate.org/projects/BlueCloth) and  
[GitHub - mislav/bluecloth: Markdown processor in Ruby; foked from official SVN repo to fix bugs](http://github.com/mislav/bluecloth/tree/master)  
[2] “You can install this module either by running the included  
`install.rb` script, or by simply copying `lib/bluecloth.rb` to a  
directory in your load path.”

---

<div class="post-metadata">

**Author:** ![helix\_tp](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/h/ed655f/32.png) [@helix\_tp](https://www.ruby-forum.com/u/helix_tp)\
**Post date:** [September 1, 2008, 4:43pm UTC](https://www.ruby-forum.com/t/freezing-blucloth-gem-into-an-app/147412/2 "2008-09-01T16:43:18Z")

</div>

Hi, you should be able to use the following within your application’s  
root  
directory:  
rake rails:freeze:gems

Good luck,

-Conrad

---

<div class="post-metadata">

**Author:** ![helix\_tp](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/h/ed655f/32.png) [@helix\_tp](https://www.ruby-forum.com/u/helix_tp)\
**Post date:** [September 2, 2008, 3:16am UTC](https://www.ruby-forum.com/t/freezing-blucloth-gem-into-an-app/147412/3 "2008-09-02T03:16:00Z")

</div>

Unless I’m mistaken, that only freezes the Rails gems. Not any other  
gems. Or am I wrong?

dwh
