<?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/"
	xmlns:georss="http://www.georss.org/georss" xmlns:geo="http://www.w3.org/2003/01/geo/wgs84_pos#" xmlns:media="http://search.yahoo.com/mrss/"
	>

<channel>
	<title>Gem Install That</title>
	<atom:link href="http://geminstallthat.wordpress.com/feed/" rel="self" type="application/rss+xml" />
	<link>http://geminstallthat.wordpress.com</link>
	<description>Ruby on Rails Geek Blog</description>
	<lastBuildDate>Thu, 26 Nov 2009 06:42:05 +0000</lastBuildDate>
	<generator>http://wordpress.com/</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<cloud domain='geminstallthat.wordpress.com' port='80' path='/?rsscloud=notify' registerProcedure='' protocol='http-post' />
<image>
		<url>http://www.gravatar.com/blavatar/871e55c8ac6924b0341dc238eeffe1cc?s=96&#038;d=http://s.wordpress.com/i/buttonw-com.png</url>
		<title>Gem Install That</title>
		<link>http://geminstallthat.wordpress.com</link>
	</image>
			<item>
		<title>Run a single cookbook recipe with chef-solo</title>
		<link>http://geminstallthat.wordpress.com/2009/11/25/run-a-single-cookbook-recipe-with-chef-solo/</link>
		<comments>http://geminstallthat.wordpress.com/2009/11/25/run-a-single-cookbook-recipe-with-chef-solo/#comments</comments>
		<pubDate>Thu, 26 Nov 2009 06:42:03 +0000</pubDate>
		<dc:creator>John Dewey</dc:creator>
				<category><![CDATA[Chef]]></category>
		<category><![CDATA[Code]]></category>
		<category><![CDATA[Example]]></category>
		<category><![CDATA[Rake]]></category>

		<guid isPermaLink="false">http://geminstallthat.wordpress.com/?p=231</guid>
		<description><![CDATA[I generally build my systems with chef-solo cookbooks.  I do not want to maintain a central server for recipes.  However, I&#8217;m getting to the point where I&#8217;d like to share my cookbooks from one solo project to another.  Anyways, I
wanted to run an individual recipe of a given cookbook.  The following [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=geminstallthat.wordpress.com&blog=309932&post=231&subd=geminstallthat&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p>I generally build my systems with <a href="http://wiki.opscode.com/display/chef/Chef+Solo">chef-solo</a> cookbooks.  I do not want to maintain a central server for recipes.  However, I&#8217;m getting to the point where I&#8217;d like to share my cookbooks from one solo project to another.  Anyways, I<br />
wanted to run an individual recipe of a given cookbook.  The following gist allows for this.  Although, it may not be necessary, since cookbooks are generally idempotent.  Seemed like a good idea earlier in the evening, meh.</p>
<p><a href="http://gist.github.com/242526">http://gist.github.com/242526</a></p>
  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/geminstallthat.wordpress.com/231/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/geminstallthat.wordpress.com/231/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/geminstallthat.wordpress.com/231/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/geminstallthat.wordpress.com/231/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/geminstallthat.wordpress.com/231/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/geminstallthat.wordpress.com/231/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/geminstallthat.wordpress.com/231/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/geminstallthat.wordpress.com/231/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/geminstallthat.wordpress.com/231/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/geminstallthat.wordpress.com/231/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=geminstallthat.wordpress.com&blog=309932&post=231&subd=geminstallthat&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://geminstallthat.wordpress.com/2009/11/25/run-a-single-cookbook-recipe-with-chef-solo/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/6aa135e92a91b698cf3c40651ade12ce?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">retr0h</media:title>
		</media:content>
	</item>
		<item>
		<title>Adding environment variables to cron via whenever</title>
		<link>http://geminstallthat.wordpress.com/2009/11/24/adding-environment-variables-to-cron-via-whenever/</link>
		<comments>http://geminstallthat.wordpress.com/2009/11/24/adding-environment-variables-to-cron-via-whenever/#comments</comments>
		<pubDate>Wed, 25 Nov 2009 05:35:45 +0000</pubDate>
		<dc:creator>John Dewey</dc:creator>
				<category><![CDATA[Crontab]]></category>
		<category><![CDATA[Plugins & Gems]]></category>

		<guid isPermaLink="false">http://geminstallthat.wordpress.com/?p=229</guid>
		<description><![CDATA[I wanted my users&#8217; cron to run under zsh, so it picks up the .zshenv &#8212; which contains additional environment variables, my rake task required.
Can add the following to schedule.rb.  This will work with any ENVIRONMENT=variable.
### schedule.rb
env &#8216;SHELL&#8217;, &#8216;/usr/bin/zsh&#8217;
       <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=geminstallthat.wordpress.com&blog=309932&post=229&subd=geminstallthat&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p>I wanted my users&#8217; cron to run under zsh, so it picks up the .zshenv &#8212; which contains additional environment variables, my rake task required.</p>
<p>Can add the following to schedule.rb.  This will work with any ENVIRONMENT=variable.</p>
<p>### schedule.rb<br />
env &#8216;SHELL&#8217;, &#8216;/usr/bin/zsh&#8217;</p>
  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/geminstallthat.wordpress.com/229/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/geminstallthat.wordpress.com/229/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/geminstallthat.wordpress.com/229/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/geminstallthat.wordpress.com/229/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/geminstallthat.wordpress.com/229/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/geminstallthat.wordpress.com/229/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/geminstallthat.wordpress.com/229/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/geminstallthat.wordpress.com/229/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/geminstallthat.wordpress.com/229/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/geminstallthat.wordpress.com/229/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=geminstallthat.wordpress.com&blog=309932&post=229&subd=geminstallthat&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://geminstallthat.wordpress.com/2009/11/24/adding-environment-variables-to-cron-via-whenever/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/6aa135e92a91b698cf3c40651ade12ce?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">retr0h</media:title>
		</media:content>
	</item>
		<item>
		<title>Using Ohai to obtain platform</title>
		<link>http://geminstallthat.wordpress.com/2009/09/01/using-ohai-to-obtain-platform/</link>
		<comments>http://geminstallthat.wordpress.com/2009/09/01/using-ohai-to-obtain-platform/#comments</comments>
		<pubDate>Wed, 02 Sep 2009 06:51:32 +0000</pubDate>
		<dc:creator>John Dewey</dc:creator>
				<category><![CDATA[Chef]]></category>
		<category><![CDATA[Code]]></category>
		<category><![CDATA[Deployment]]></category>
		<category><![CDATA[Ohai]]></category>

		<guid isPermaLink="false">http://geminstallthat.wordpress.com/?p=227</guid>
		<description><![CDATA[I have found myself needing to know the operating system platform.  Rather than explicitly checking for /etc/lsb-base or /etc/issue to determine if it&#8217;s Ubuntu or Debian respectively.  Let Ohai do the work for you.
This small gist prints the platform.  You can access just about anything you want to know about your system [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=geminstallthat.wordpress.com&blog=309932&post=227&subd=geminstallthat&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p>I have found myself needing to know the operating system platform.  Rather than explicitly checking for /etc/lsb-base or /etc/issue to determine if it&#8217;s Ubuntu or Debian respectively.  Let <a href="http://github.com/opscode/ohai/tree/master">Ohai</a> do the work for you.</p>
<p>This small <a href="http://gist.github.com/179592">gist</a> prints the platform.  You can access just about anything you want to know about your system via this method.</p>
  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/geminstallthat.wordpress.com/227/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/geminstallthat.wordpress.com/227/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/geminstallthat.wordpress.com/227/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/geminstallthat.wordpress.com/227/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/geminstallthat.wordpress.com/227/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/geminstallthat.wordpress.com/227/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/geminstallthat.wordpress.com/227/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/geminstallthat.wordpress.com/227/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/geminstallthat.wordpress.com/227/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/geminstallthat.wordpress.com/227/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=geminstallthat.wordpress.com&blog=309932&post=227&subd=geminstallthat&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://geminstallthat.wordpress.com/2009/09/01/using-ohai-to-obtain-platform/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/6aa135e92a91b698cf3c40651ade12ce?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">retr0h</media:title>
		</media:content>
	</item>
		<item>
		<title>Funny reCAPTCHA</title>
		<link>http://geminstallthat.wordpress.com/2009/08/06/funny-recaptcha/</link>
		<comments>http://geminstallthat.wordpress.com/2009/08/06/funny-recaptcha/#comments</comments>
		<pubDate>Thu, 06 Aug 2009 08:01:08 +0000</pubDate>
		<dc:creator>John Dewey</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://geminstallthat.wordpress.com/?p=225</guid>
		<description><![CDATA[
       <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=geminstallthat.wordpress.com&blog=309932&post=225&subd=geminstallthat&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p><img src="http://geminstallthat.files.wordpress.com/2009/08/picture-2.png?w=357&#038;h=159" alt="Picture 2.png" border="0" width="357" height="159" /></p>
  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/geminstallthat.wordpress.com/225/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/geminstallthat.wordpress.com/225/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/geminstallthat.wordpress.com/225/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/geminstallthat.wordpress.com/225/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/geminstallthat.wordpress.com/225/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/geminstallthat.wordpress.com/225/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/geminstallthat.wordpress.com/225/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/geminstallthat.wordpress.com/225/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/geminstallthat.wordpress.com/225/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/geminstallthat.wordpress.com/225/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=geminstallthat.wordpress.com&blog=309932&post=225&subd=geminstallthat&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://geminstallthat.wordpress.com/2009/08/06/funny-recaptcha/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/6aa135e92a91b698cf3c40651ade12ce?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">retr0h</media:title>
		</media:content>

		<media:content url="http://geminstallthat.files.wordpress.com/2009/08/picture-2.png" medium="image">
			<media:title type="html">Picture 2.png</media:title>
		</media:content>
	</item>
		<item>
		<title>Changing the default error text in the Rails reCAPTCHA plugin</title>
		<link>http://geminstallthat.wordpress.com/2009/07/15/changing-the-default-error-text-in-the-rails-recaptcha-plugin/</link>
		<comments>http://geminstallthat.wordpress.com/2009/07/15/changing-the-default-error-text-in-the-rails-recaptcha-plugin/#comments</comments>
		<pubDate>Thu, 16 Jul 2009 05:20:44 +0000</pubDate>
		<dc:creator>John Dewey</dc:creator>
				<category><![CDATA[Configuration]]></category>
		<category><![CDATA[Example]]></category>
		<category><![CDATA[Plugins & Gems]]></category>
		<category><![CDATA[Rails]]></category>

		<guid isPermaLink="false">http://geminstallthat.wordpress.com/?p=220</guid>
		<description><![CDATA[I couldn&#8217;t find information on changing the default &#8220;Captcha response is incorrect, please try again.&#8221; text returned by the reCAPTCHA Rails plugin.
This gist uses Rails 2.2&#8217;s internationalization (I18n) to change the message.
       <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=geminstallthat.wordpress.com&blog=309932&post=220&subd=geminstallthat&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p>I couldn&#8217;t find information on changing the default &#8220;Captcha response is incorrect, please try again.&#8221; text returned by the <a href="http://github.com/ambethia/recaptcha/tree/master">reCAPTCHA Rails plugin</a>.</p>
<p>This <a href="http://gist.github.com/148229">gist</a> uses <a href="http://weblog.rubyonrails.org/2008/11/21/rails-2-2-i18n-http-validators-thread-safety-jruby-1-9-compatibility-docs">Rails 2.2&#8217;s internationalization</a> (I18n) to change the message.</p>
  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/geminstallthat.wordpress.com/220/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/geminstallthat.wordpress.com/220/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/geminstallthat.wordpress.com/220/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/geminstallthat.wordpress.com/220/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/geminstallthat.wordpress.com/220/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/geminstallthat.wordpress.com/220/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/geminstallthat.wordpress.com/220/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/geminstallthat.wordpress.com/220/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/geminstallthat.wordpress.com/220/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/geminstallthat.wordpress.com/220/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=geminstallthat.wordpress.com&blog=309932&post=220&subd=geminstallthat&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://geminstallthat.wordpress.com/2009/07/15/changing-the-default-error-text-in-the-rails-recaptcha-plugin/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/6aa135e92a91b698cf3c40651ade12ce?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">retr0h</media:title>
		</media:content>
	</item>
		<item>
		<title>Sinatra utf-8 Content-Type before filter</title>
		<link>http://geminstallthat.wordpress.com/2009/04/22/sinatra-utf-8-content-type-before-filter/</link>
		<comments>http://geminstallthat.wordpress.com/2009/04/22/sinatra-utf-8-content-type-before-filter/#comments</comments>
		<pubDate>Wed, 22 Apr 2009 20:28:43 +0000</pubDate>
		<dc:creator>John Dewey</dc:creator>
				<category><![CDATA[Code]]></category>
		<category><![CDATA[Example]]></category>
		<category><![CDATA[Sinatra]]></category>

		<guid isPermaLink="false">http://geminstallthat.wordpress.com/?p=218</guid>
		<description><![CDATA[I wanted to learn Sinatra, so I started converting my personal Rails site over to Sinatra.  I scrape my Twitterholic rating, and redisplay it on my site.  I need the css and html to have a Content-Type of utf-8.
I came up with the following before filter.  There is probably a better way [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=geminstallthat.wordpress.com&blog=309932&post=218&subd=geminstallthat&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p>I wanted to learn <a href="http://www.sinatrarb.com/">Sinatra</a>, so I started converting my personal <a href="http://rubyonrails.org/">Rails</a> site over to <a href="http://www.sinatrarb.com/">Sinatra</a>.  I scrape my <a href="http://twitterholic.com/">Twitterholic</a> rating, and redisplay it on my <a href="http://dewey.ws/">site</a>.  I need the css and html to have a Content-Type of utf-8.</p>
<p>I came up with the following <a href="http://gist.github.com/98308">before filter</a>.  There is probably a better way to do this, I just wanted my controllers to be less &#8220;wet&#8221;.</p>
<p>I also use the <a href="http://gist.github.com/100052">following</a> to render all css.</p>
  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/geminstallthat.wordpress.com/218/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/geminstallthat.wordpress.com/218/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/geminstallthat.wordpress.com/218/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/geminstallthat.wordpress.com/218/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/geminstallthat.wordpress.com/218/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/geminstallthat.wordpress.com/218/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/geminstallthat.wordpress.com/218/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/geminstallthat.wordpress.com/218/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/geminstallthat.wordpress.com/218/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/geminstallthat.wordpress.com/218/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=geminstallthat.wordpress.com&blog=309932&post=218&subd=geminstallthat&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://geminstallthat.wordpress.com/2009/04/22/sinatra-utf-8-content-type-before-filter/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/6aa135e92a91b698cf3c40651ade12ce?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">retr0h</media:title>
		</media:content>
	</item>
		<item>
		<title>Running Sinatra with Phusion Passenger</title>
		<link>http://geminstallthat.wordpress.com/2009/04/19/running-sinatra-with-phusion-passenger/</link>
		<comments>http://geminstallthat.wordpress.com/2009/04/19/running-sinatra-with-phusion-passenger/#comments</comments>
		<pubDate>Mon, 20 Apr 2009 00:37:17 +0000</pubDate>
		<dc:creator>John Dewey</dc:creator>
				<category><![CDATA[Passenger]]></category>
		<category><![CDATA[Rack]]></category>
		<category><![CDATA[Ruby]]></category>
		<category><![CDATA[Sinatra]]></category>

		<guid isPermaLink="false">http://geminstallthat.wordpress.com/?p=214</guid>
		<description><![CDATA[Here is a config.ru for use with Sinatra.  It also includes a logging section for your app.  This configuration works on Sinatra (0.9.1.1).  Quite a few of the examples out there use the deprecated Sinatra::Application.default_options vs set.
:update:
Updated config.ru with Blake&#8217;s suggestions.
       <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=geminstallthat.wordpress.com&blog=309932&post=214&subd=geminstallthat&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p>Here is a <a href="http://gist.github.com/98297">config.ru</a> for use with <a href="http://www.sinatrarb.com/">Sinatra</a>.  It also includes a logging section for your app.  This configuration works on <a href="http://www.sinatrarb.com/">Sinatra</a> (0.9.1.1).  Quite a few of the examples out there use the deprecated Sinatra::Application.default_options vs set.</p>
<p>:update:</p>
<p>Updated <a href="http://gist.github.com/98297">config.ru</a> with <a href="http://github.com/bmizerany/">Blake&#8217;s</a> suggestions.</p>
  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/geminstallthat.wordpress.com/214/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/geminstallthat.wordpress.com/214/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/geminstallthat.wordpress.com/214/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/geminstallthat.wordpress.com/214/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/geminstallthat.wordpress.com/214/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/geminstallthat.wordpress.com/214/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/geminstallthat.wordpress.com/214/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/geminstallthat.wordpress.com/214/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/geminstallthat.wordpress.com/214/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/geminstallthat.wordpress.com/214/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=geminstallthat.wordpress.com&blog=309932&post=214&subd=geminstallthat&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://geminstallthat.wordpress.com/2009/04/19/running-sinatra-with-phusion-passenger/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/6aa135e92a91b698cf3c40651ade12ce?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">retr0h</media:title>
		</media:content>
	</item>
		<item>
		<title>gem install that (well kind-of)</title>
		<link>http://geminstallthat.wordpress.com/2009/04/11/gem-install-that-well-kind-of/</link>
		<comments>http://geminstallthat.wordpress.com/2009/04/11/gem-install-that-well-kind-of/#comments</comments>
		<pubDate>Sun, 12 Apr 2009 07:06:15 +0000</pubDate>
		<dc:creator>John Dewey</dc:creator>
				<category><![CDATA[Code]]></category>
		<category><![CDATA[Plugins & Gems]]></category>

		<guid isPermaLink="false">http://geminstallthat.wordpress.com/?p=210</guid>
		<description><![CDATA[Geminstallthat is a pretty groovy name, which reidmix came up with.  What would be really geeky is a gem named &#8216;that&#8216;, which allows you to read my blog.  I didn&#8217;t feel like dealing with rubyforge (to get the non-githuby gem name) , so here is a sneak peek at that.

$ gem sources -a [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=geminstallthat.wordpress.com&blog=309932&post=210&subd=geminstallthat&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p>Geminstallthat is a pretty groovy name, which <a href="http://reidmix.wordpress.com/">reidmix</a> came up with.  What would be really geeky is a gem named &#8216;<a href="http://github.com/retr0h/that/tree/master">that</a>&#8216;, which allows you to read <a href="http://geminstallthat.wordpress.com/">my blog</a>.  I didn&#8217;t feel like dealing with rubyforge (to get the non-githuby gem name) , so here is a sneak peek at <a href="http://github.com/retr0h/that/tree/master">that</a>.</p>
<pre>
$ gem sources -a http://gems.github.com
$ sudo sudo gem install retr0h-that
Successfully installed retr0h-that-0.0.0
1 gem installed
Installing ri documentation for retr0h-that-0.0.0...
Installing RDoc documentation for retr0h-that-0.0.0...
$ that
</pre>
<p>It will display all posts from the time the gem was built to Time.now.</p>
  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/geminstallthat.wordpress.com/210/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/geminstallthat.wordpress.com/210/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/geminstallthat.wordpress.com/210/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/geminstallthat.wordpress.com/210/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/geminstallthat.wordpress.com/210/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/geminstallthat.wordpress.com/210/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/geminstallthat.wordpress.com/210/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/geminstallthat.wordpress.com/210/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/geminstallthat.wordpress.com/210/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/geminstallthat.wordpress.com/210/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=geminstallthat.wordpress.com&blog=309932&post=210&subd=geminstallthat&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://geminstallthat.wordpress.com/2009/04/11/gem-install-that-well-kind-of/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/6aa135e92a91b698cf3c40651ade12ce?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">retr0h</media:title>
		</media:content>
	</item>
		<item>
		<title>Syncing bundle_fu assets to s3 for Cloudfront</title>
		<link>http://geminstallthat.wordpress.com/2009/04/02/syncing-assets-to-s3-for-cloudfront/</link>
		<comments>http://geminstallthat.wordpress.com/2009/04/02/syncing-assets-to-s3-for-cloudfront/#comments</comments>
		<pubDate>Fri, 03 Apr 2009 07:25:22 +0000</pubDate>
		<dc:creator>John Dewey</dc:creator>
				<category><![CDATA[Amazon]]></category>
		<category><![CDATA[CDN]]></category>
		<category><![CDATA[Rake]]></category>
		<category><![CDATA[Vlad]]></category>

		<guid isPermaLink="false">http://geminstallthat.wordpress.com/?p=198</guid>
		<description><![CDATA[I wanted to automatically upload my bundle_fu assets to Amazon&#8217;s s3, and use their Cloudfront CDN for SnGs.  I came up with the following rake task, which can be hooked into Vlad. 
It&#8217;s as simple as adding the following to production.rb, and running the rake task &#8216;cloud:upload&#8217;.

ActionController::Base.asset_host = "cloudfront_url"

      [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=geminstallthat.wordpress.com&blog=309932&post=198&subd=geminstallthat&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p>I wanted to automatically upload my <a href="http://code.google.com/p/bundle-fu/">bundle_fu</a> assets to <a href="http://aws.amazon.com/s3/">Amazon&#8217;s s3</a>, and use their <a href="http://aws.amazon.com/cloudfront/">Cloudfront CDN</a> for SnGs.  I came up with the following <a href="http://github.com/retr0h/dewey.ws/blob/9ed8259d8fa6b0f633d3d7f748d30c52ab9d9715/lib/tasks/cloud.rake">rake task</a>, which can be hooked into <a href="http://rubyhitsquad.com/Vlad_the_Deployer.html">Vlad</a>. </p>
<p>It&#8217;s as simple as adding the following to production.rb, and running the rake task &#8216;cloud:upload&#8217;.</p>
<pre>
ActionController::Base.asset_host = "cloudfront_url"
</pre>
  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/geminstallthat.wordpress.com/198/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/geminstallthat.wordpress.com/198/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/geminstallthat.wordpress.com/198/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/geminstallthat.wordpress.com/198/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/geminstallthat.wordpress.com/198/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/geminstallthat.wordpress.com/198/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/geminstallthat.wordpress.com/198/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/geminstallthat.wordpress.com/198/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/geminstallthat.wordpress.com/198/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/geminstallthat.wordpress.com/198/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=geminstallthat.wordpress.com&blog=309932&post=198&subd=geminstallthat&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://geminstallthat.wordpress.com/2009/04/02/syncing-assets-to-s3-for-cloudfront/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/6aa135e92a91b698cf3c40651ade12ce?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">retr0h</media:title>
		</media:content>
	</item>
		<item>
		<title>Find missing RSpec view tests</title>
		<link>http://geminstallthat.wordpress.com/2009/03/16/find-missing-rspec-view-tests/</link>
		<comments>http://geminstallthat.wordpress.com/2009/03/16/find-missing-rspec-view-tests/#comments</comments>
		<pubDate>Mon, 16 Mar 2009 18:38:18 +0000</pubDate>
		<dc:creator>John Dewey</dc:creator>
				<category><![CDATA[Code]]></category>
		<category><![CDATA[RSpec]]></category>
		<category><![CDATA[Rake]]></category>

		<guid isPermaLink="false">http://geminstallthat.wordpress.com/?p=196</guid>
		<description><![CDATA[I created a quick little rake task which finds missing RSpec view tests.  It assumes the extension is .haml, however, this can be overridden with the EXTENSION environment variable.

rake spec:missing_view_templates
or
EXTENSION=erb rake spec:missing_view_templates

       <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=geminstallthat.wordpress.com&blog=309932&post=196&subd=geminstallthat&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p>I created a <a href="http://gist.github.com/79988">quick little rake task</a> which finds missing <a href="http://rspec.info/">RSpec</a> view tests.  It assumes the extension is .haml, however, this can be overridden with the EXTENSION environment variable.</p>
<pre>
rake spec:missing_view_templates
or
EXTENSION=erb rake spec:missing_view_templates
</pre>
  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/geminstallthat.wordpress.com/196/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/geminstallthat.wordpress.com/196/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/geminstallthat.wordpress.com/196/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/geminstallthat.wordpress.com/196/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/geminstallthat.wordpress.com/196/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/geminstallthat.wordpress.com/196/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/geminstallthat.wordpress.com/196/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/geminstallthat.wordpress.com/196/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/geminstallthat.wordpress.com/196/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/geminstallthat.wordpress.com/196/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=geminstallthat.wordpress.com&blog=309932&post=196&subd=geminstallthat&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://geminstallthat.wordpress.com/2009/03/16/find-missing-rspec-view-tests/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/6aa135e92a91b698cf3c40651ade12ce?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">retr0h</media:title>
		</media:content>
	</item>
	</channel>
</rss>