<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>Comments on: Deploying a bundled merb app (merb 0.9.7+)</title>
	<atom:link href="http://merbist.com/2008/09/23/deploying-a-bundled-merb-app-merb-097/feed/" rel="self" type="application/rss+xml" />
	<link>http://merbist.com/2008/09/23/deploying-a-bundled-merb-app-merb-097/</link>
	<description>Random thoughts of a software developer</description>
	<lastBuildDate>Sat, 31 Dec 2011 05:29:17 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3</generator>
<xhtml:meta xmlns:xhtml="http://www.w3.org/1999/xhtml" name="robots" content="noindex" />
	<item>
		<title>By: Michael Klishin</title>
		<link>http://merbist.com/2008/09/23/deploying-a-bundled-merb-app-merb-097/comment-page-1/#comment-20</link>
		<dc:creator>Michael Klishin</dc:creator>
		<pubDate>Thu, 25 Sep 2008 07:18:12 +0000</pubDate>
		<guid isPermaLink="false">http://merbist.com/?p=23#comment-20</guid>
		<description>By the way, Merb 1.1 or so is gonna have a deployment recipe plugin. I&#039;ve used 2 recipes in the wild with both ActiveRecord and DataMapper migration tasks, so we just need to add one for Sequel and document the whole thing.

Turn key deployment is part of post 1.0 Merb picture: flexible tool with lots of plugins for very rapid prototyping.</description>
		<content:encoded><![CDATA[<p>By the way, Merb 1.1 or so is gonna have a deployment recipe plugin. I&#8217;ve used 2 recipes in the wild with both ActiveRecord and DataMapper migration tasks, so we just need to add one for Sequel and document the whole thing.</p>
<p>Turn key deployment is part of post 1.0 Merb picture: flexible tool with lots of plugins for very rapid prototyping.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Mike</title>
		<link>http://merbist.com/2008/09/23/deploying-a-bundled-merb-app-merb-097/comment-page-1/#comment-11</link>
		<dc:creator>Mike</dc:creator>
		<pubDate>Wed, 24 Sep 2008 21:19:48 +0000</pubDate>
		<guid isPermaLink="false">http://merbist.com/?p=23#comment-11</guid>
		<description>@Matt, I must be missing something. How exactly do you update without having to transfer the gems every time?</description>
		<content:encoded><![CDATA[<p>@Matt, I must be missing something. How exactly do you update without having to transfer the gems every time?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Sander van Zoest</title>
		<link>http://merbist.com/2008/09/23/deploying-a-bundled-merb-app-merb-097/comment-page-1/#comment-10</link>
		<dc:creator>Sander van Zoest</dc:creator>
		<pubDate>Wed, 24 Sep 2008 19:31:14 +0000</pubDate>
		<guid isPermaLink="false">http://merbist.com/?p=23#comment-10</guid>
		<description>Now it would be really great if we can integrate all this stuff with puppet.</description>
		<content:encoded><![CDATA[<p>Now it would be really great if we can integrate all this stuff with puppet.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Gabriel Wilkins</title>
		<link>http://merbist.com/2008/09/23/deploying-a-bundled-merb-app-merb-097/comment-page-1/#comment-6</link>
		<dc:creator>Gabriel Wilkins</dc:creator>
		<pubDate>Wed, 24 Sep 2008 15:31:42 +0000</pubDate>
		<guid isPermaLink="false">http://merbist.com/?p=23#comment-6</guid>
		<description>we&#039;ve been using a one-line hack since 093 to freeze gems, which also excludes the gems system path.  if it ain&#039;t in the app gems dir, merb can&#039;t see it.
just change
require &#039;rubygems&#039;
to
require &#039;rubygems&#039;
Gem.use_paths(&quot;.&quot;,[File.expand_path(&quot;#{File.dirname(__FILE__)}/..&quot;)]).pop
in #{root}/gems/bin/merb
and install your gems with
gem install -i #{root}/gems #--no-rdoc --no-ri, if you&#039;re so inclined
and then of course, have to call merb as bin/merb

working is subject to rubygems not changing that, or you having already changed it somewhere else, but it&#039;s worked for me without a hitch on many different machines, linux &amp; win32.

so i&#039;m sure that modifying this to exclude the system path properly wouldn&#039;t be that hard.</description>
		<content:encoded><![CDATA[<p>we&#8217;ve been using a one-line hack since 093 to freeze gems, which also excludes the gems system path.  if it ain&#8217;t in the app gems dir, merb can&#8217;t see it.<br />
just change<br />
require &#8216;rubygems&#8217;<br />
to<br />
require &#8216;rubygems&#8217;<br />
Gem.use_paths(&#8220;.&#8221;,[File.expand_path("#{File.dirname(__FILE__)}/..")]).pop<br />
in #{root}/gems/bin/merb<br />
and install your gems with<br />
gem install -i #{root}/gems #&#8211;no-rdoc &#8211;no-ri, if you&#8217;re so inclined<br />
and then of course, have to call merb as bin/merb</p>
<p>working is subject to rubygems not changing that, or you having already changed it somewhere else, but it&#8217;s worked for me without a hitch on many different machines, linux &amp; win32.</p>
<p>so i&#8217;m sure that modifying this to exclude the system path properly wouldn&#8217;t be that hard.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Botanicus</title>
		<link>http://merbist.com/2008/09/23/deploying-a-bundled-merb-app-merb-097/comment-page-1/#comment-5</link>
		<dc:creator>Botanicus</dc:creator>
		<pubDate>Wed, 24 Sep 2008 09:47:35 +0000</pubDate>
		<guid isPermaLink="false">http://merbist.com/?p=23#comment-5</guid>
		<description>Matt, thank for your cap recipe, very useful!</description>
		<content:encoded><![CDATA[<p>Matt, thank for your cap recipe, very useful!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: admin</title>
		<link>http://merbist.com/2008/09/23/deploying-a-bundled-merb-app-merb-097/comment-page-1/#comment-4</link>
		<dc:creator>admin</dc:creator>
		<pubDate>Wed, 24 Sep 2008 01:01:40 +0000</pubDate>
		<guid isPermaLink="false">http://merbist.com/?p=23#comment-4</guid>
		<description>@peter Why would you want to symlink your gems folder? 
If you don&#039;t want to have them bundled just install them system-wide.
Otherwise you will have to always go to your gems folder and update it manually (which you can certainly do).

Btw, if you use a cached deployment strategy like used in my recipe, your gems won&#039;t be transferred every time.

-Matt</description>
		<content:encoded><![CDATA[<p>@peter Why would you want to symlink your gems folder?<br />
If you don&#8217;t want to have them bundled just install them system-wide.<br />
Otherwise you will have to always go to your gems folder and update it manually (which you can certainly do).</p>
<p>Btw, if you use a cached deployment strategy like used in my recipe, your gems won&#8217;t be transferred every time.</p>
<p>-Matt</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Matt Aimonetti</title>
		<link>http://merbist.com/2008/09/23/deploying-a-bundled-merb-app-merb-097/comment-page-1/#comment-3</link>
		<dc:creator>Matt Aimonetti</dc:creator>
		<pubDate>Wed, 24 Sep 2008 00:36:12 +0000</pubDate>
		<guid isPermaLink="false">http://merbist.com/?p=23#comment-3</guid>
		<description>Some people told me on IRC that they did not have the merb:gems:redeploy thor task. Make sure to update your local thor file:

curl -L http://merbivore.com/merb.thor &gt; merb.thor

and don&#039;t forget to add it to your SCM ;)

-Matt</description>
		<content:encoded><![CDATA[<p>Some people told me on IRC that they did not have the merb:gems:redeploy thor task. Make sure to update your local thor file:</p>
<p>curl -L <a href="http://merbivore.com/merb.thor" rel="nofollow">http://merbivore.com/merb.thor</a> &gt; merb.thor</p>
<p>and don&#8217;t forget to add it to your SCM <img src='http://merbist.com/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' /> </p>
<p>-Matt</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Peter</title>
		<link>http://merbist.com/2008/09/23/deploying-a-bundled-merb-app-merb-097/comment-page-1/#comment-2</link>
		<dc:creator>Peter</dc:creator>
		<pubDate>Wed, 24 Sep 2008 00:14:49 +0000</pubDate>
		<guid isPermaLink="false">http://merbist.com/?p=23#comment-2</guid>
		<description>Nice one Matt!! I just need this recipe to deploy my first Merb app too ;)

Can&#039;t you symlink your gems folder also so you don&#039;t need transfer it in every deploy?</description>
		<content:encoded><![CDATA[<p>Nice one Matt!! I just need this recipe to deploy my first Merb app too <img src='http://merbist.com/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' /> </p>
<p>Can&#8217;t you symlink your gems folder also so you don&#8217;t need transfer it in every deploy?</p>
]]></content:encoded>
	</item>
</channel>
</rss>

