<?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: What&#8217;s New in Bundler 1.0.0.rc.1</title>
	<atom:link href="http://yehudakatz.com/2010/07/26/whats-new-in-bundler-1-0-0-rc-1/feed/" rel="self" type="application/rss+xml" />
	<link>http://yehudakatz.com/2010/07/26/whats-new-in-bundler-1-0-0-rc-1/</link>
	<description>Random Geek-Related Thoughts</description>
	<lastBuildDate>Sat, 20 Apr 2013 07:23:38 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: Nathan B</title>
		<link>http://yehudakatz.com/2010/07/26/whats-new-in-bundler-1-0-0-rc-1/comment-page-1/#comment-22304</link>
		<dc:creator>Nathan B</dc:creator>
		<pubDate>Tue, 01 Mar 2011 03:38:10 +0000</pubDate>
		<guid isPermaLink="false">http://yehudakatz.com/?p=506#comment-22304</guid>
		<description><![CDATA[@Spencer, Bundler already has this built in.

You can put your gems into groups, such as :development, :test, :cucumber. When you run bundle install on your production server, you just run &quot;bundle install --without cucumber development test&quot;, and it won&#039;t install any gems you have put in those groups.]]></description>
		<content:encoded><![CDATA[<p>@Spencer, Bundler already has this built in.</p>
<p>You can put your gems into groups, such as :development, :test, :cucumber. When you run bundle install on your production server, you just run &#8220;bundle install &#8211;without cucumber development test&#8221;, and it won&#8217;t install any gems you have put in those groups.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Spencer Dillard</title>
		<link>http://yehudakatz.com/2010/07/26/whats-new-in-bundler-1-0-0-rc-1/comment-page-1/#comment-20778</link>
		<dc:creator>Spencer Dillard</dc:creator>
		<pubDate>Thu, 16 Sep 2010 18:58:43 +0000</pubDate>
		<guid isPermaLink="false">http://yehudakatz.com/?p=506#comment-20778</guid>
		<description><![CDATA[I&#039;ve been struggling with all the dependencies I have in development that I don&#039;t really want on my production server (spork, cucumber, etc.).  I was thinking I could create a Gemfile.development and Gemfile.production that would really server as templates for developers, then have a Gemfile.lock.development and Gemfile.lock.production.  When a developer is adding a gem for production use, they would just copy the Gemfile.lock to Gemfile.production.  On deployment, we would copy the Gemfile.production to Gemfile and likewise with the .lock file.  I realize it&#039;s a bit of a pain, but I can&#039;t come up with a better way to avoid installing lots of things that aren&#039;t needed.  Comments or suggestions?]]></description>
		<content:encoded><![CDATA[<p>I&#8217;ve been struggling with all the dependencies I have in development that I don&#8217;t really want on my production server (spork, cucumber, etc.).  I was thinking I could create a Gemfile.development and Gemfile.production that would really server as templates for developers, then have a Gemfile.lock.development and Gemfile.lock.production.  When a developer is adding a gem for production use, they would just copy the Gemfile.lock to Gemfile.production.  On deployment, we would copy the Gemfile.production to Gemfile and likewise with the .lock file.  I realize it&#8217;s a bit of a pain, but I can&#8217;t come up with a better way to avoid installing lots of things that aren&#8217;t needed.  Comments or suggestions?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: David Greaves</title>
		<link>http://yehudakatz.com/2010/07/26/whats-new-in-bundler-1-0-0-rc-1/comment-page-1/#comment-19525</link>
		<dc:creator>David Greaves</dc:creator>
		<pubDate>Sat, 07 Aug 2010 12:05:54 +0000</pubDate>
		<guid isPermaLink="false">http://yehudakatz.com/?p=506#comment-19525</guid>
		<description><![CDATA[So... if you&#039;ve recently run a sudo (or if you have NOPASSWD in sudoers) then bundler will casually grab root to install downloaded gems.

Not clever.

bundler should not take sudo without explicitly asking or without a --sudo option.]]></description>
		<content:encoded><![CDATA[<p>So&#8230; if you&#8217;ve recently run a sudo (or if you have NOPASSWD in sudoers) then bundler will casually grab root to install downloaded gems.</p>
<p>Not clever.</p>
<p>bundler should not take sudo without explicitly asking or without a &#8211;sudo option.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Austin Bales</title>
		<link>http://yehudakatz.com/2010/07/26/whats-new-in-bundler-1-0-0-rc-1/comment-page-1/#comment-19522</link>
		<dc:creator>Austin Bales</dc:creator>
		<pubDate>Sat, 07 Aug 2010 06:33:55 +0000</pubDate>
		<guid isPermaLink="false">http://yehudakatz.com/?p=506#comment-19522</guid>
		<description><![CDATA[Wow. I&#039;ve read numerous &quot;Getting Started&quot; posts for bundler, and this is the first time I&#039;ve finished and thought to myself, &quot;Wow that seems incredible easy and useful.&quot;

Thanks.]]></description>
		<content:encoded><![CDATA[<p>Wow. I&#8217;ve read numerous &#8220;Getting Started&#8221; posts for bundler, and this is the first time I&#8217;ve finished and thought to myself, &#8220;Wow that seems incredible easy and useful.&#8221;</p>
<p>Thanks.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Libo Cannici</title>
		<link>http://yehudakatz.com/2010/07/26/whats-new-in-bundler-1-0-0-rc-1/comment-page-1/#comment-19518</link>
		<dc:creator>Libo Cannici</dc:creator>
		<pubDate>Fri, 06 Aug 2010 16:12:11 +0000</pubDate>
		<guid isPermaLink="false">http://yehudakatz.com/?p=506#comment-19518</guid>
		<description><![CDATA[I am deploying via Capistrano with a user who cannot sudo. I really have big problem deploying and installing the gem with native extensions. 

The gem installing script tries to do something like
make install
/usr/bin/install -c -o root -g wheel
..and it crashes.

In the past I was managing the native extension gem separately via puppet. But now I don&#039;t know what to do.

Should I start deploying with a user who can sudo? It sounds bad!]]></description>
		<content:encoded><![CDATA[<p>I am deploying via Capistrano with a user who cannot sudo. I really have big problem deploying and installing the gem with native extensions. </p>
<p>The gem installing script tries to do something like<br />
make install<br />
/usr/bin/install -c -o root -g wheel<br />
..and it crashes.</p>
<p>In the past I was managing the native extension gem separately via puppet. But now I don&#8217;t know what to do.</p>
<p>Should I start deploying with a user who can sudo? It sounds bad!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Mclark</title>
		<link>http://yehudakatz.com/2010/07/26/whats-new-in-bundler-1-0-0-rc-1/comment-page-1/#comment-19447</link>
		<dc:creator>Mclark</dc:creator>
		<pubDate>Sat, 31 Jul 2010 16:03:02 +0000</pubDate>
		<guid isPermaLink="false">http://yehudakatz.com/?p=506#comment-19447</guid>
		<description><![CDATA[I needed to uninstall bundler-1.0.0.beta.5 before rc.2 would cooperate.  It was loading Thor out of the beta.5 gem, and that made the resolver unhappy.  With beta.5 gone, all is right with the world again.

http://gist.github.com/502312]]></description>
		<content:encoded><![CDATA[<p>I needed to uninstall bundler-1.0.0.beta.5 before rc.2 would cooperate.  It was loading Thor out of the beta.5 gem, and that made the resolver unhappy.  With beta.5 gone, all is right with the world again.</p>
<p><a href="http://gist.github.com/502312" rel="nofollow">http://gist.github.com/502312</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Lee Hambley</title>
		<link>http://yehudakatz.com/2010/07/26/whats-new-in-bundler-1-0-0-rc-1/comment-page-1/#comment-19255</link>
		<dc:creator>Lee Hambley</dc:creator>
		<pubDate>Wed, 28 Jul 2010 17:04:43 +0000</pubDate>
		<guid isPermaLink="false">http://yehudakatz.com/?p=506#comment-19255</guid>
		<description><![CDATA[Great news that things are slowing down around here! I wanted to ask what is your proposed solution to comitting the Gemfile.lock - which often contains group(:test) dependencies (at least on developer workstations) when moving to production, I have seen this cause problems.]]></description>
		<content:encoded><![CDATA[<p>Great news that things are slowing down around here! I wanted to ask what is your proposed solution to comitting the Gemfile.lock &#8211; which often contains group(:test) dependencies (at least on developer workstations) when moving to production, I have seen this cause problems.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: mateo</title>
		<link>http://yehudakatz.com/2010/07/26/whats-new-in-bundler-1-0-0-rc-1/comment-page-1/#comment-19250</link>
		<dc:creator>mateo</dc:creator>
		<pubDate>Wed, 28 Jul 2010 03:49:22 +0000</pubDate>
		<guid isPermaLink="false">http://yehudakatz.com/?p=506#comment-19250</guid>
		<description><![CDATA[I&#039;ve made a gist with capistrano config code that follows the deployment advice in the post; feel free to use and improve:

http://gist.github.com/493313]]></description>
		<content:encoded><![CDATA[<p>I&#8217;ve made a gist with capistrano config code that follows the deployment advice in the post; feel free to use and improve:</p>
<p><a href="http://gist.github.com/493313" rel="nofollow">http://gist.github.com/493313</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Loren Norman</title>
		<link>http://yehudakatz.com/2010/07/26/whats-new-in-bundler-1-0-0-rc-1/comment-page-1/#comment-19246</link>
		<dc:creator>Loren Norman</dc:creator>
		<pubDate>Tue, 27 Jul 2010 15:25:06 +0000</pubDate>
		<guid isPermaLink="false">http://yehudakatz.com/?p=506#comment-19246</guid>
		<description><![CDATA[I&#039;ve been using Rails 3 for a little over a month now, and I can happily say that Bundler 0.9 has been a massive time-saver and a huge productivity win. Bravo! This is NOT a trivial problem and Bundler is amazingly elegant.

The issue I want to bring up is the behavior of &#039;bundle install [path]&#039;. The behavior of &#039;remembering&#039; this path, while sensible, can really lead to some surprises.

We had a new Ruby developer (indeed, we are ALL new Bundler users) inadvertently use this command when trying to install a gem directly, thinking he needed &#039;bundle install [gem_name]&#039;. Of course, this appears to work and one goes about their business, only later finding a [gem_name] directory in the project root full of gem directories. This is downright spooky!

The problem is exacerbated when using rvm (rapidly becoming a Ruby best-practice) and by a lack of documentation. Writing the BUNDLE_PATH variable to [project_root]/.bundle/config (which shadows the environment var that rvm correctly but ineffectually sets) doesn&#039;t seem to be mentioned anywhere, indeed, I can&#039;t find ANY mention of this config file and its options anywhere on gembundler.com!

Solutions:
- I&#039;d like to see the &#039;bundle install [path]&#039; broken out into a separate command. I feel like it violates &#039;least surprise&#039; to have the normal, run-of-the-mill &#039;install&#039; command change global state. I&#039;m flexible on this part, though, since it is certainly learnable.

- Documentation in 2 places (this is a must):
1) on the page describing &#039;bundle install&#039; (http://gembundler.com/v1.0/bundle_install.html), where it says &quot;Further bundle commands or calls to Bundler.setup or Bundler.require will remember this location&quot; should clearly reference the mechanism it uses to remember the location: the config file and accompanying option.

2) a dedicated page for the config file. Where does it live? What options are there? When should I make changes to it and why?

- Finally, I&#039;d love to see a writeup on using Bundler with rvm. The two clearly have some overlap and I&#039;d like to know the best practices when using them together. rvm silos gems for different Ruby versions, but it also provides gemsets which allow you to further silo your gems. Which responsibilities fall into the realm of rvm, and which are better left to Bundler&#039;s formidable functionality?

Thanks again, Yehuda. I&#039;ll be happy to contribute some of this, but I wanted to give you the chance to tell me I was wrong, first!]]></description>
		<content:encoded><![CDATA[<p>I&#8217;ve been using Rails 3 for a little over a month now, and I can happily say that Bundler 0.9 has been a massive time-saver and a huge productivity win. Bravo! This is NOT a trivial problem and Bundler is amazingly elegant.</p>
<p>The issue I want to bring up is the behavior of &#8216;bundle install [path]&#8216;. The behavior of &#8216;remembering&#8217; this path, while sensible, can really lead to some surprises.</p>
<p>We had a new Ruby developer (indeed, we are ALL new Bundler users) inadvertently use this command when trying to install a gem directly, thinking he needed &#8216;bundle install [gem_name]&#8216;. Of course, this appears to work and one goes about their business, only later finding a [gem_name] directory in the project root full of gem directories. This is downright spooky!</p>
<p>The problem is exacerbated when using rvm (rapidly becoming a Ruby best-practice) and by a lack of documentation. Writing the BUNDLE_PATH variable to [project_root]/.bundle/config (which shadows the environment var that rvm correctly but ineffectually sets) doesn&#8217;t seem to be mentioned anywhere, indeed, I can&#8217;t find ANY mention of this config file and its options anywhere on gembundler.com!</p>
<p>Solutions:<br />
- I&#8217;d like to see the &#8216;bundle install [path]&#8216; broken out into a separate command. I feel like it violates &#8216;least surprise&#8217; to have the normal, run-of-the-mill &#8216;install&#8217; command change global state. I&#8217;m flexible on this part, though, since it is certainly learnable.</p>
<p>- Documentation in 2 places (this is a must):<br />
1) on the page describing &#8216;bundle install&#8217; (<a href="http://gembundler.com/v1.0/bundle_install.html" rel="nofollow">http://gembundler.com/v1.0/bundle_install.html</a>), where it says &#8220;Further bundle commands or calls to Bundler.setup or Bundler.require will remember this location&#8221; should clearly reference the mechanism it uses to remember the location: the config file and accompanying option.</p>
<p>2) a dedicated page for the config file. Where does it live? What options are there? When should I make changes to it and why?</p>
<p>- Finally, I&#8217;d love to see a writeup on using Bundler with rvm. The two clearly have some overlap and I&#8217;d like to know the best practices when using them together. rvm silos gems for different Ruby versions, but it also provides gemsets which allow you to further silo your gems. Which responsibilities fall into the realm of rvm, and which are better left to Bundler&#8217;s formidable functionality?</p>
<p>Thanks again, Yehuda. I&#8217;ll be happy to contribute some of this, but I wanted to give you the chance to tell me I was wrong, first!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Christoph Olszowka</title>
		<link>http://yehudakatz.com/2010/07/26/whats-new-in-bundler-1-0-0-rc-1/comment-page-1/#comment-19245</link>
		<dc:creator>Christoph Olszowka</dc:creator>
		<pubDate>Tue, 27 Jul 2010 11:46:29 +0000</pubDate>
		<guid isPermaLink="false">http://yehudakatz.com/?p=506#comment-19245</guid>
		<description><![CDATA[Thanks Yehuda!

I thought it was worth pointing out that when running &#039;bundle install&#039; for the first time on the RC (was using the latest beta prior to that), it will actually do a &quot;bundle update&quot;. This has happened for me at least, using a Rails 3 project with Haml 3.0.13, which has been updated to 3.0.14. This does not seem to be reproducible afterwards, bundle update and bundle install worked just as smoothly as you described it here.

@bryanl: Seems to me some kind of platform-based dependency block in addition to groups might make sense?]]></description>
		<content:encoded><![CDATA[<p>Thanks Yehuda!</p>
<p>I thought it was worth pointing out that when running &#8216;bundle install&#8217; for the first time on the RC (was using the latest beta prior to that), it will actually do a &#8220;bundle update&#8221;. This has happened for me at least, using a Rails 3 project with Haml 3.0.13, which has been updated to 3.0.14. This does not seem to be reproducible afterwards, bundle update and bundle install worked just as smoothly as you described it here.</p>
<p>@bryanl: Seems to me some kind of platform-based dependency block in addition to groups might make sense?</p>
]]></content:encoded>
	</item>
</channel>
</rss>
