<?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: Awesome bundling in Merb 1.0 final</title>
	<atom:link href="http://yehudakatz.com/2008/10/31/awesome-bundling-in-merb-10-final/feed/" rel="self" type="application/rss+xml" />
	<link>http://yehudakatz.com/2008/10/31/awesome-bundling-in-merb-10-final/</link>
	<description>Random Geek-Related Thoughts</description>
	<lastBuildDate>Sat, 13 Mar 2010 08:40:57 -0800</lastBuildDate>
	
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: Merb RC5 - Final RC! &#124; Engine Yard Blog</title>
		<link>http://yehudakatz.com/2008/10/31/awesome-bundling-in-merb-10-final/comment-page-1/#comment-16974</link>
		<dc:creator>Merb RC5 - Final RC! &#124; Engine Yard Blog</dc:creator>
		<pubDate>Mon, 10 Aug 2009 18:04:05 +0000</pubDate>
		<guid isPermaLink="false">http://yehudakatz.com/?p=87#comment-16974</guid>
		<description>[...] put some work into the bundling system (as I previewed last week). To use bundling, simply make sure you have a gems directory in your application, then run thor [...]</description>
		<content:encoded><![CDATA[<p>[...] put some work into the bundling system (as I previewed last week). To use bundling, simply make sure you have a gems directory in your application, then run thor [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: wycats</title>
		<link>http://yehudakatz.com/2008/10/31/awesome-bundling-in-merb-10-final/comment-page-1/#comment-13650</link>
		<dc:creator>wycats</dc:creator>
		<pubDate>Mon, 03 Nov 2008 15:53:18 +0000</pubDate>
		<guid isPermaLink="false">http://yehudakatz.com/?p=87#comment-13650</guid>
		<description>@luis if you don&#039;t have privileges to compile, nothing stops you from compiling on your development box and shipping the compiled binary, but that honestly seems like a recipe for disaster (except for Windows, where it&#039;s necessary)</description>
		<content:encoded><![CDATA[<p>@luis if you don&#8217;t have privileges to compile, nothing stops you from compiling on your development box and shipping the compiled binary, but that honestly seems like a recipe for disaster (except for Windows, where it&#8217;s necessary)</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Levi</title>
		<link>http://yehudakatz.com/2008/10/31/awesome-bundling-in-merb-10-final/comment-page-1/#comment-13649</link>
		<dc:creator>Levi</dc:creator>
		<pubDate>Mon, 03 Nov 2008 14:49:46 +0000</pubDate>
		<guid isPermaLink="false">http://yehudakatz.com/?p=87#comment-13649</guid>
		<description>Thank you!</description>
		<content:encoded><![CDATA[<p>Thank you!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Luis Lavena</title>
		<link>http://yehudakatz.com/2008/10/31/awesome-bundling-in-merb-10-final/comment-page-1/#comment-13648</link>
		<dc:creator>Luis Lavena</dc:creator>
		<pubDate>Mon, 03 Nov 2008 10:36:12 +0000</pubDate>
		<guid isPermaLink="false">http://yehudakatz.com/?p=87#comment-13648</guid>
		<description>@atmos &amp;&amp; @wycats:

And what about deployment servers you don&#039;t have compilers or enough privileges to compile?

Sorry to be so stubborn or negative, but what happens when these gems requires dependencies that are not under control by the user? All those scenarios high likely will happen.
 
@carllerche: excellent good point about cannot locate a gem server from deployment one.

I&#039;m still not sold on the idea or the implementation but I think I should not be tried to convince here, time will tell about the right way to do it and this solution could evolve with time.</description>
		<content:encoded><![CDATA[<p>@atmos &amp;&amp; @wycats:</p>
<p>And what about deployment servers you don&#8217;t have compilers or enough privileges to compile?</p>
<p>Sorry to be so stubborn or negative, but what happens when these gems requires dependencies that are not under control by the user? All those scenarios high likely will happen.</p>
<p>@carllerche: excellent good point about cannot locate a gem server from deployment one.</p>
<p>I&#8217;m still not sold on the idea or the implementation but I think I should not be tried to convince here, time will tell about the right way to do it and this solution could evolve with time.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Mike</title>
		<link>http://yehudakatz.com/2008/10/31/awesome-bundling-in-merb-10-final/comment-page-1/#comment-13646</link>
		<dc:creator>Mike</dc:creator>
		<pubDate>Mon, 03 Nov 2008 04:08:36 +0000</pubDate>
		<guid isPermaLink="false">http://yehudakatz.com/?p=87#comment-13646</guid>
		<description>Forgive my very noob question to merb, but isn&#039;t this just similar to the assembly signing issue commonly found using statically typed languages? We always make sure the builds are fully encapsulated (apart from system dependencies) for third party libraries, etc to avoid conflicts like these and so they will work in any environment. 
Am I understanding the deployment difficulties discussed here? I want to get into merb so want to know the best path for deployment.
Thanks!</description>
		<content:encoded><![CDATA[<p>Forgive my very noob question to merb, but isn&#8217;t this just similar to the assembly signing issue commonly found using statically typed languages? We always make sure the builds are fully encapsulated (apart from system dependencies) for third party libraries, etc to avoid conflicts like these and so they will work in any environment.<br />
Am I understanding the deployment difficulties discussed here? I want to get into merb so want to know the best path for deployment.<br />
Thanks!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: carllerche</title>
		<link>http://yehudakatz.com/2008/10/31/awesome-bundling-in-merb-10-final/comment-page-1/#comment-13642</link>
		<dc:creator>carllerche</dc:creator>
		<pubDate>Sat, 01 Nov 2008 19:14:28 +0000</pubDate>
		<guid isPermaLink="false">http://yehudakatz.com/?p=87#comment-13642</guid>
		<description>@luis &amp;&amp; @atmos

Using remote gem servers seems like a recipe for trouble when deploying.

First of all, you now have external server dependencies. If the gem server goes down, you can&#039;t deploy. Having gems in a git repository means that your gems will always be available. Even if you create an internal gem server, that&#039;s that much more complexity to the entire system. Honestly, the last thing you want to happen during a deploy is it all going wrong because gems are not available for install. Imagine you have to deploy a fix really quick because of a bug that got live and deploying explodes... That will be one bad day :). Another advantage with bundling your gems in the git repo is that git is fast. You will be able to deploy MUCH faster since you are only copying over the delta from the last deploy and everything is compressed.

As mentioned earlier, with compiled extensions, you are not bundling the compiled bits, only the source and the extensions will be compiled locally on the target systems.</description>
		<content:encoded><![CDATA[<p>@luis &amp;&amp; @atmos</p>
<p>Using remote gem servers seems like a recipe for trouble when deploying.</p>
<p>First of all, you now have external server dependencies. If the gem server goes down, you can&#8217;t deploy. Having gems in a git repository means that your gems will always be available. Even if you create an internal gem server, that&#8217;s that much more complexity to the entire system. Honestly, the last thing you want to happen during a deploy is it all going wrong because gems are not available for install. Imagine you have to deploy a fix really quick because of a bug that got live and deploying explodes&#8230; That will be one bad day :). Another advantage with bundling your gems in the git repo is that git is fast. You will be able to deploy MUCH faster since you are only copying over the delta from the last deploy and everything is compressed.</p>
<p>As mentioned earlier, with compiled extensions, you are not bundling the compiled bits, only the source and the extensions will be compiled locally on the target systems.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: wycats</title>
		<link>http://yehudakatz.com/2008/10/31/awesome-bundling-in-merb-10-final/comment-page-1/#comment-13641</link>
		<dc:creator>wycats</dc:creator>
		<pubDate>Sat, 01 Nov 2008 18:48:52 +0000</pubDate>
		<guid isPermaLink="false">http://yehudakatz.com/?p=87#comment-13641</guid>
		<description>@luis merb.thor includes a task for recompiling binary gems automatically in each environment. .gitignore simply ignores the .bundle, .so, makefile, et al.

@atmos I&#039;ve been talking with halorgium about this and while I think it still has some problems vs. checking everything in (specifically wrt consistency and predictability) I think it makes sense for us to offer that as an option.</description>
		<content:encoded><![CDATA[<p>@luis merb.thor includes a task for recompiling binary gems automatically in each environment. .gitignore simply ignores the .bundle, .so, makefile, et al.</p>
<p>@atmos I&#8217;ve been talking with halorgium about this and while I think it still has some problems vs. checking everything in (specifically wrt consistency and predictability) I think it makes sense for us to offer that as an option.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: atmos</title>
		<link>http://yehudakatz.com/2008/10/31/awesome-bundling-in-merb-10-final/comment-page-1/#comment-13640</link>
		<dc:creator>atmos</dc:creator>
		<pubDate>Sat, 01 Nov 2008 18:01:32 +0000</pubDate>
		<guid isPermaLink="false">http://yehudakatz.com/?p=87#comment-13640</guid>
		<description>@luis We bundle our gems in a similar fashion now and simply run the bundler as part of the deployment process.  We don&#039;t actually check our gems into our git repo, we just have  a way to say &quot;go from no gem environment to everything I need.&quot;</description>
		<content:encoded><![CDATA[<p>@luis We bundle our gems in a similar fashion now and simply run the bundler as part of the deployment process.  We don&#8217;t actually check our gems into our git repo, we just have  a way to say &#8220;go from no gem environment to everything I need.&#8221;</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Luis Lavena</title>
		<link>http://yehudakatz.com/2008/10/31/awesome-bundling-in-merb-10-final/comment-page-1/#comment-13639</link>
		<dc:creator>Luis Lavena</dc:creator>
		<pubDate>Sat, 01 Nov 2008 12:12:57 +0000</pubDate>
		<guid isPermaLink="false">http://yehudakatz.com/?p=87#comment-13639</guid>
		<description>I agree on the unpredictable situations topic, so bundling/freezing is mandatory.

The only thing around that are gems that require compilation of extensions like Mongrel, ParseTree or even nokogiri.

Bundling all in OSX for your application deployment will fail when deployed in a Linux box.

Or I&#039;m missing something?</description>
		<content:encoded><![CDATA[<p>I agree on the unpredictable situations topic, so bundling/freezing is mandatory.</p>
<p>The only thing around that are gems that require compilation of extensions like Mongrel, ParseTree or even nokogiri.</p>
<p>Bundling all in OSX for your application deployment will fail when deployed in a Linux box.</p>
<p>Or I&#8217;m missing something?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: wycats</title>
		<link>http://yehudakatz.com/2008/10/31/awesome-bundling-in-merb-10-final/comment-page-1/#comment-13637</link>
		<dc:creator>wycats</dc:creator>
		<pubDate>Fri, 31 Oct 2008 22:53:46 +0000</pubDate>
		<guid isPermaLink="false">http://yehudakatz.com/?p=87#comment-13637</guid>
		<description>@luis the problem is that it&#039;s impossible to be sure what the combination of dependency requirements in your local and system gems will produce at runtime. Adding system gems can cause merb to suddenly load a system gem instead of a local gem and vice versa. I used one example to illustrate what had gone wrong, but it&#039;s just one example.

Bundling everything prevents this confusion.</description>
		<content:encoded><![CDATA[<p>@luis the problem is that it&#8217;s impossible to be sure what the combination of dependency requirements in your local and system gems will produce at runtime. Adding system gems can cause merb to suddenly load a system gem instead of a local gem and vice versa. I used one example to illustrate what had gone wrong, but it&#8217;s just one example.</p>
<p>Bundling everything prevents this confusion.</p>
]]></content:encoded>
	</item>
</channel>
</rss>
