<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	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/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>onidle(...) &#187; MacPorts</title>
	<atom:link href="http://journal.onidle.com/category/macports/feed/" rel="self" type="application/rss+xml" />
	<link>http://journal.onidle.com</link>
	<description>Ruby, Rails, Macs, baked beans...</description>
	<lastBuildDate>Fri, 01 Feb 2008 01:30:39 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.4</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Why are you making me install Perl?!</title>
		<link>http://journal.onidle.com/2007/03/why-are-you-making-me-install-perl/</link>
		<comments>http://journal.onidle.com/2007/03/why-are-you-making-me-install-perl/#comments</comments>
		<pubDate>Sat, 03 Mar 2007 00:00:45 +0000</pubDate>
		<dc:creator>Tom Brice</dc:creator>
				<category><![CDATA[MacPorts]]></category>
		<category><![CDATA[Ruby]]></category>

		<guid isPermaLink="false">http://journal.onidle.com/2007/03/why-are-you-making-me-install-perl/</guid>
		<description><![CDATA[	I innocently decided to upgrade my rubygems after reading Scott Boms&#8217; blog.  I wanted the gems outdated fu.  Now typically one can simply gem update --system
	I use MacPorts, so I decided to do a quick sudo port upgrade rb-rubygems and it starts installing Perl.  Huh?  It&#8217;s rubygems!?  That left me [...]]]></description>
			<content:encoded><![CDATA[	<p>I innocently decided to upgrade my rubygems after reading <a href="http://www.wishingline.com/notebook/archives/2007_02.php#001154">Scott Boms&#8217; blog</a>.  I wanted the <code>gems outdated</code> fu.  Now typically one can simply <code>gem update --system</code></p>
	<p>I use MacPorts, so I decided to do a quick <code>sudo port upgrade rb-rubygems</code> and it starts installing <em>Perl</em>.  Huh?  It&#8217;s <em>ruby</em>gems!?  That left me scratching my head&#8230;</p>
	<p>Turns out that the <a href="http://rb-rubygems.darwinports.com/">portfile</a> now has a dependency on <a href="http://autoconf.darwinports.com/">autoconf</a> which, in turn, depends on Perl.  Wow.  I hope it&#8217;s worth it.  Last time I built rubygems by hand it wasn&#8217;t that tough&#8230;</p>
	<p>So now I have perl 5.8.8.  What can you do with that?[me: ducks]</p>

 ]]></content:encoded>
			<wfw:commentRss>http://journal.onidle.com/2007/03/why-are-you-making-me-install-perl/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Rotating Logs on OS X</title>
		<link>http://journal.onidle.com/2007/02/rotating-logs-on-os-x/</link>
		<comments>http://journal.onidle.com/2007/02/rotating-logs-on-os-x/#comments</comments>
		<pubDate>Fri, 16 Feb 2007 21:38:05 +0000</pubDate>
		<dc:creator>Tom Brice</dc:creator>
				<category><![CDATA[Mac OS X]]></category>
		<category><![CDATA[MacPorts]]></category>
		<category><![CDATA[Rails]]></category>

		<guid isPermaLink="false">http://journal.onidle.com/2007/02/rotating-logs-on-os-x/</guid>
		<description><![CDATA[	I have a couple of rails sites running on an Xserve at work.  There are ways to rotate rails logs using Logger.  While it would be nice to just let rails take care of it, it seems that that technique will fail when you&#8217;re running a cluster of mongrels.  Those puppies write [...]]]></description>
			<content:encoded><![CDATA[	<p>I have a couple of rails sites running on an <a href="http://www.apple.com/xserve/">Xserve</a> at work.  <a href="http://snippets.dzone.com/posts/show/979">There are ways to rotate rails logs</a> using <a href="http://www.ruby-doc.org/stdlib/libdoc/logger/rdoc/">Logger</a>.  While it would be nice to just let rails take care of it, it seems that that technique will fail when you&#8217;re running a cluster of <a href="http://mongrel.rubyforge.org/">mongrels</a>.  Those puppies write to the same log, so if you pull it out from under them it will surely result in dreaded 500 errors.  That&#8217;s embarrassing.</p>
	<p><a href="http://mongrel.rubyforge.org/faq.html">Mongrel FAQ</a> advises us to use something like <a href="http://packages.debian.org/unstable/admin/logrotate"><code>logrotate</code></a>.  That&#8217;s a Debian package and it does not come with OS X.  I spent way too much time looking for a binary to use.  If you&#8217;re not a sysadmin this dark art of rotating logs can be deucedly tricky to nail down.  In the end, <a href="http://trac.macports.org/projects/macports/browser/trunk/dports/sysutils/logrotate/Portfile">MacPorts</a> to the rescue (again). I <code>&lt;heart&gt;</code> <a href="http://www.macports.org/">MacPorts</a>.  <em>BONUS</em>:  I can use it to rotate my Apache logs too.</p>

 ]]></content:encoded>
			<wfw:commentRss>http://journal.onidle.com/2007/02/rotating-logs-on-os-x/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
	</channel>
</rss>
