<?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>Ian Winter &#187; rub</title>
	<atom:link href="http://ianwinter.co.uk/tag/rub/feed/" rel="self" type="application/rss+xml" />
	<link>http://ianwinter.co.uk</link>
	<description>Have you found the instructions yet?</description>
	<lastBuildDate>Thu, 13 May 2010 21:03:18 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0</generator>
		<item>
		<title>Rails Setup</title>
		<link>http://ianwinter.co.uk/2009/03/23/rails-setup/</link>
		<comments>http://ianwinter.co.uk/2009/03/23/rails-setup/#comments</comments>
		<pubDate>Mon, 23 Mar 2009 21:39:20 +0000</pubDate>
		<dc:creator>Ian</dc:creator>
				<category><![CDATA[General]]></category>
		<category><![CDATA[apache]]></category>
		<category><![CDATA[mac]]></category>
		<category><![CDATA[rub]]></category>

		<guid isPermaLink="false">http://ianwinter.co.uk/?p=976</guid>
		<description><![CDATA[Been playing with Rails 2.3.2.1 and Passenger 2.1.2 but had some problems upgrading from the two respective earlier versions. The key was in the fact I probably didn&#8217;t RTFM. Following the guides.rubyonrails.org I&#8217;d got as far as section 4, changing the default index but whenever I did this or tried to view the controller directly [...]]]></description>
			<content:encoded><![CDATA[<p>Been playing with Rails 2.3.2.1 and Passenger 2.1.2 but had some problems upgrading from the two respective earlier versions. The key was in the fact I probably didn&#8217;t RTFM. Following the <a href="http://guides.rubyonrails.org">guides.rubyonrails.org</a> I&#8217;d got as far as section 4, changing the default index but whenever I did this or tried to view the controller directly on my Mac (10.5.6) it just 500 errored. The key was something that a friend (<a href="https://twitter.com/neilmiddleton" target="_blank">@neilmiddleton</a>) alluded to was that the app was running in production mode. There was no errors in the log files also aiding the diagnosis.</p>
<p>Solution? Pretty simple, just add an environment variable.</p>
<p><code>ServerName rortest.local<br />
DocumentRoot "/Users/ian/Sites/rortest/public"<br />
RailsEnv development</code></p>
<p>Now I&#8217;ve got to try and write something useful rather than hello world or a blog post/view page.</p>
]]></content:encoded>
			<wfw:commentRss>http://ianwinter.co.uk/2009/03/23/rails-setup/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
