<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xml:base="http://www.townx.org" xmlns:dc="http://purl.org/dc/elements/1.1/">
<channel>
 <title>townx - Freezing gems into a Rails application - Comments</title>
 <link>http://www.townx.org/freezing_gems_into_a_rails_application</link>
 <description>Comments for &quot;Freezing gems into a Rails application&quot;</description>
 <language>en</language>
<item>
 <title>Thanks</title>
 <link>http://www.townx.org/freezing_gems_into_a_rails_application#comment-1013</link>
 <description>&lt;p&gt;Thanks Rafael. I came across that myself after I replied to the comment. However, the reason I remain wary is that the comments mention a few issues, and you need to do some manual work to get the task to work (i.e. setting up references to the gems you&#039;re using). But better to have an OK solution than no solution at all.&lt;/p&gt;</description>
 <pubDate>Fri, 19 May 2006 14:29:08 -0500</pubDate>
 <dc:creator>elliot</dc:creator>
 <guid isPermaLink="false">comment 1013 at http://www.townx.org</guid>
</item>
<item>
 <title>Freeze Other Gems Task</title>
 <link>http://www.townx.org/freezing_gems_into_a_rails_application#comment-1012</link>
 <description>&lt;p&gt;You can use Freeze Other Gems&lt;/p&gt;

&lt;p&gt;&lt;a href=&quot;http://nubyonrails.com/articles/2005/12/22/freeze-other-gems-to-rails-lib-directory&quot; title=&quot;http://nubyonrails.com/articles/2005/12/22/freeze-other-gems-to-rails-lib-directory&quot;&gt;http://nubyonrails.com/articles/2005/12/22/freeze-other-gems-to-rails-li...&lt;/a&gt;&lt;/p&gt;</description>
 <pubDate>Fri, 19 May 2006 12:44:47 -0500</pubDate>
 <dc:creator>Rafael Lima</dc:creator>
 <guid isPermaLink="false">comment 1012 at http://www.townx.org</guid>
</item>
<item>
 <title>Er...not sure you can. What</title>
 <link>http://www.townx.org/freezing_gems_into_a_rails_application#comment-829</link>
 <description>&lt;p&gt;Er...not sure you can. What you could do (if it was really, really important) would be to put the content of the gem into your application somewhere where Rails could see it. For example, you could put any required .rb files inside the lib directory. Or you could unpack the gem into a non-standard directory inside your Rails app., and get Rails to load it by adding a custom load path to environment.rb. Finally, you could create a plugin which initialises all the required libraries (this is what I&#039;ve done with libraries I use for s33r, my S3 Rails client).&lt;/p&gt;

&lt;p&gt;Hope this helps.&lt;/p&gt;</description>
 <pubDate>Tue, 11 Apr 2006 07:54:15 -0500</pubDate>
 <dc:creator>elliot</dc:creator>
 <guid isPermaLink="false">comment 829 at http://www.townx.org</guid>
</item>
<item>
 <title>Great! How do I freeze non-rails gems?</title>
 <link>http://www.townx.org/freezing_gems_into_a_rails_application#comment-824</link>
 <description>&lt;p&gt;Great! How do I freeze non-rails gems?&lt;/p&gt;</description>
 <pubDate>Tue, 11 Apr 2006 06:14:32 -0500</pubDate>
 <dc:creator>random8r</dc:creator>
 <guid isPermaLink="false">comment 824 at http://www.townx.org</guid>
</item>
<item>
 <title>Freezing gems into a Rails application</title>
 <link>http://www.townx.org/freezing_gems_into_a_rails_application</link>
 <description>&lt;p&gt;There&#039;s a &lt;a href=&quot;http://weblog.rubyonrails.com/articles/2005/12/22/freezing-your-rails-when-you-deploy-shared&quot;&gt;great trick&lt;/a&gt; mentioned on the &lt;a href=&quot;http://weblog.rubyonrails.com/&quot;&gt;Riding Rails weblog&lt;/a&gt; for &quot;freezing&quot; gems into a Rails application (so your application carries its own version of Rails around with it, and won&#039;t be affected by upgrades to Rails on a shared host). The trick is to run the command:&lt;/p&gt;

&lt;code&gt;rake freeze_gems&lt;/code&gt;

&lt;p&gt;in the root of your application. This unpacks the current gems into the vendor/rails directory. Your application will detect the presence of these local, unpacked gems and use them instead of the main system Rails gems.&lt;/p&gt;</description>
 <comments>http://www.townx.org/freezing_gems_into_a_rails_application#comments</comments>
 <category domain="http://www.townx.org/howtos">howtos</category>
 <pubDate>Thu, 22 Dec 2005 16:33:39 -0600</pubDate>
 <dc:creator>elliot</dc:creator>
 <guid isPermaLink="false">190 at http://www.townx.org</guid>
</item>
</channel>
</rss>
