<?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: Rails Bundling &#8212; Revisited</title>
	<atom:link href="http://yehudakatz.com/2009/07/08/rails-bundling-revisited/feed/" rel="self" type="application/rss+xml" />
	<link>http://yehudakatz.com/2009/07/08/rails-bundling-revisited/</link>
	<description>Random Geek-Related Thoughts</description>
	<lastBuildDate>Tue, 16 Mar 2010 14:46:49 -0700</lastBuildDate>
	
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: Richie Vos</title>
		<link>http://yehudakatz.com/2009/07/08/rails-bundling-revisited/comment-page-1/#comment-17143</link>
		<dc:creator>Richie Vos</dc:creator>
		<pubDate>Wed, 16 Sep 2009 17:57:35 +0000</pubDate>
		<guid isPermaLink="false">http://yehudakatz.com/?p=292#comment-17143</guid>
		<description>Katz, I heard you talk about this at WindyCityRails last weekend and just want you to know this feature alone would make going through an upgrade to Rails 3 worthwhile.

The disaster that is config.gem needs to die. I thought about this a bit awhile ago and think the only way for this to work properly is to be in a separate file with the dependencies there, and am quite happy to see that&#039;s what you found as well.

@chad (or anyone who comes across this) you can get it at http://github.com/wycats/bundler/tree (or since github is down right now http://google.com/search?q=cache%3Ahttp%3A%2F%2Fgithub.com%2Fwycats%2Fbundler%2Ftree )</description>
		<content:encoded><![CDATA[<p>Katz, I heard you talk about this at WindyCityRails last weekend and just want you to know this feature alone would make going through an upgrade to Rails 3 worthwhile.</p>
<p>The disaster that is config.gem needs to die. I thought about this a bit awhile ago and think the only way for this to work properly is to be in a separate file with the dependencies there, and am quite happy to see that&#8217;s what you found as well.</p>
<p>@chad (or anyone who comes across this) you can get it at <a href="http://github.com/wycats/bundler/tree" rel="nofollow">http://github.com/wycats/bundler/tree</a> (or since github is down right now <a href="http://google.com/search?q=cache%3Ahttp%3A%2F%2Fgithub.com%2Fwycats%2Fbundler%2Ftree" rel="nofollow">http://google.com/search?q=cache%3Ahttp%3A%2F%2Fgithub.com%2Fwycats%2Fbundler%2Ftree</a> )</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Chad Woolley</title>
		<link>http://yehudakatz.com/2009/07/08/rails-bundling-revisited/comment-page-1/#comment-16740</link>
		<dc:creator>Chad Woolley</dc:creator>
		<pubDate>Tue, 14 Jul 2009 07:08:37 +0000</pubDate>
		<guid isPermaLink="false">http://yehudakatz.com/?p=292#comment-16740</guid>
		<description>Good stuff.  Is this source anywhere public yet?</description>
		<content:encoded><![CDATA[<p>Good stuff.  Is this source anywhere public yet?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: nicholas a. evans</title>
		<link>http://yehudakatz.com/2009/07/08/rails-bundling-revisited/comment-page-1/#comment-16706</link>
		<dc:creator>nicholas a. evans</dc:creator>
		<pubDate>Thu, 09 Jul 2009 16:33:57 +0000</pubDate>
		<guid isPermaLink="false">http://yehudakatz.com/?p=292#comment-16706</guid>
		<description>A couple of questions I have: will this handle gem dependencies *before* loading the app environment (and initializing plugins).  And what about local rake files with gem dependencies?

From your post, it sounds like the answer to my first question is &quot;yes&quot;.  But I just want to confirm, because that&#039;s one of the biggest shortcomings of the current &quot;config.gem&quot; system.

In order to successfully *load* all of &#039;lib/tasks/**/*.rake&#039;, I need to be sure that certain of my gem dependencies exist.  If they don&#039;t, then &quot;rake gems:install&quot; crashes.  One (ugly hack) solution would be to wrap any rake files that have external dependencies in a begin...rescue block.  That&#039;s what I currently do.  Another (more elegant?) solution would be to handle gem dependencies prior to loading lib/tasks/**/*.rake.  If a gem dependency (that has been flagged as necessary for loading rake) is missing, then simply don&#039;t load lib/tasks/**/*.rake (and print out an warning message).

Both of these would require pulling the gem dependencies out of config/environment.rb and putting them into a separate config file.

At any rate, I&#039;m glad to hear that you&#039;re tackling this!  It&#039;s an important issue, and I suspect you&#039;ll do a good job with it.</description>
		<content:encoded><![CDATA[<p>A couple of questions I have: will this handle gem dependencies *before* loading the app environment (and initializing plugins).  And what about local rake files with gem dependencies?</p>
<p>From your post, it sounds like the answer to my first question is &#8220;yes&#8221;.  But I just want to confirm, because that&#8217;s one of the biggest shortcomings of the current &#8220;config.gem&#8221; system.</p>
<p>In order to successfully *load* all of &#8216;lib/tasks/**/*.rake&#8217;, I need to be sure that certain of my gem dependencies exist.  If they don&#8217;t, then &#8220;rake gems:install&#8221; crashes.  One (ugly hack) solution would be to wrap any rake files that have external dependencies in a begin&#8230;rescue block.  That&#8217;s what I currently do.  Another (more elegant?) solution would be to handle gem dependencies prior to loading lib/tasks/**/*.rake.  If a gem dependency (that has been flagged as necessary for loading rake) is missing, then simply don&#8217;t load lib/tasks/**/*.rake (and print out an warning message).</p>
<p>Both of these would require pulling the gem dependencies out of config/environment.rb and putting them into a separate config file.</p>
<p>At any rate, I&#8217;m glad to hear that you&#8217;re tackling this!  It&#8217;s an important issue, and I suspect you&#8217;ll do a good job with it.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Francis Hwang</title>
		<link>http://yehudakatz.com/2009/07/08/rails-bundling-revisited/comment-page-1/#comment-16704</link>
		<dc:creator>Francis Hwang</dc:creator>
		<pubDate>Thu, 09 Jul 2009 14:24:44 +0000</pubDate>
		<guid isPermaLink="false">http://yehudakatz.com/?p=292#comment-16704</guid>
		<description>@be4ce: You may not intend to be rude, but you&#039;re doing a good job of it anyway. Yehuda is telling you about code he&#039;s writing and will be giving to you and everyone else for free. You don&#039;t have to like his code or use his code or think he&#039;s smart, but to come onto his blog and talk as if he owes you anything shows a shocking lack of understanding as to how open source works.

And if you really think he&#039;s full of it, you ought to show him up by releasing something that solves the same problem, and does it better. Code speaks.</description>
		<content:encoded><![CDATA[<p>@be4ce: You may not intend to be rude, but you&#8217;re doing a good job of it anyway. Yehuda is telling you about code he&#8217;s writing and will be giving to you and everyone else for free. You don&#8217;t have to like his code or use his code or think he&#8217;s smart, but to come onto his blog and talk as if he owes you anything shows a shocking lack of understanding as to how open source works.</p>
<p>And if you really think he&#8217;s full of it, you ought to show him up by releasing something that solves the same problem, and does it better. Code speaks.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Botanicus</title>
		<link>http://yehudakatz.com/2009/07/08/rails-bundling-revisited/comment-page-1/#comment-16702</link>
		<dc:creator>Botanicus</dc:creator>
		<pubDate>Thu, 09 Jul 2009 11:36:11 +0000</pubDate>
		<guid isPermaLink="false">http://yehudakatz.com/?p=292#comment-16702</guid>
		<description>One of the biggest problem for me was unability to specify gems which should be installed just on development machine and gems for production. It was because of merb.thor parse config/dependencies.rb but do not run merb and I wasn&#039;t able to use Merb.env to determine the actual environment. I&#039;ve develop the solution for installation based on runtime dependencies even before the current solution was out, created lighthouse ticket and send patch, but anyone care ... later I created another ticket to warn about the problems, someone at least noticed and confirmed the ticket, but it was the only thing what happen with this ticket for fucking long time</description>
		<content:encoded><![CDATA[<p>One of the biggest problem for me was unability to specify gems which should be installed just on development machine and gems for production. It was because of merb.thor parse config/dependencies.rb but do not run merb and I wasn&#8217;t able to use Merb.env to determine the actual environment. I&#8217;ve develop the solution for installation based on runtime dependencies even before the current solution was out, created lighthouse ticket and send patch, but anyone care &#8230; later I created another ticket to warn about the problems, someone at least noticed and confirmed the ticket, but it was the only thing what happen with this ticket for fucking long time</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: be4ce</title>
		<link>http://yehudakatz.com/2009/07/08/rails-bundling-revisited/comment-page-1/#comment-16700</link>
		<dc:creator>be4ce</dc:creator>
		<pubDate>Thu, 09 Jul 2009 09:43:00 +0000</pubDate>
		<guid isPermaLink="false">http://yehudakatz.com/?p=292#comment-16700</guid>
		<description>Let me ask a question – you really like to do it and maintain it in longterm, or is it just another hype about shit? I don&#039;t intend to be rude, but you guys always start something, it&#039;s very cool, there are blog posts, discussion and so and after some time anyone maintain it. For example Merb, Rack-router, Thor ... or am I wrong? (I&#039;d like to believe so).</description>
		<content:encoded><![CDATA[<p>Let me ask a question – you really like to do it and maintain it in longterm, or is it just another hype about shit? I don&#8217;t intend to be rude, but you guys always start something, it&#8217;s very cool, there are blog posts, discussion and so and after some time anyone maintain it. For example Merb, Rack-router, Thor &#8230; or am I wrong? (I&#8217;d like to believe so).</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: AJ (fujin)</title>
		<link>http://yehudakatz.com/2009/07/08/rails-bundling-revisited/comment-page-1/#comment-16697</link>
		<dc:creator>AJ (fujin)</dc:creator>
		<pubDate>Thu, 09 Jul 2009 07:50:21 +0000</pubDate>
		<guid isPermaLink="false">http://yehudakatz.com/?p=292#comment-16697</guid>
		<description>Sounds like a nice amount of polish ontop of the merb bundler - look forward to testing this out!</description>
		<content:encoded><![CDATA[<p>Sounds like a nice amount of polish ontop of the merb bundler &#8211; look forward to testing this out!</p>
]]></content:encoded>
	</item>
</channel>
</rss>
