<?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>John Yerhot - Weblog &#187; Rants</title>
	<atom:link href="http://www.johnyerhot.com/category/rants/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.johnyerhot.com</link>
	<description>im in ur computrz makin castz</description>
	<lastBuildDate>Tue, 29 Jun 2010 04:32:50 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.5</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Deployment Nightmare: Godaddy</title>
		<link>http://www.johnyerhot.com/2008/11/04/deployment-nightmare-godaddy/</link>
		<comments>http://www.johnyerhot.com/2008/11/04/deployment-nightmare-godaddy/#comments</comments>
		<pubDate>Tue, 04 Nov 2008 23:20:44 +0000</pubDate>
		<dc:creator>John</dc:creator>
				<category><![CDATA[Hosting]]></category>
		<category><![CDATA[Programming]]></category>
		<category><![CDATA[Rants]]></category>
		<category><![CDATA[Ruby]]></category>
		<category><![CDATA[Ruby On Rails]]></category>

		<guid isPermaLink="false">http://www.johnyerhot.com/?p=99</guid>
		<description><![CDATA[Against the advice of, well, the entire Rails community, I attempted to deploy a project to Godaddy.
Godaddy proudly displays the little Ruby logo next to Php when browsing through their hosting plans, and seeing as you can get Rails hosting for $7/month through them, it seems like a decent deal, even if you know it&#8217;s [...]]]></description>
			<content:encoded><![CDATA[<p>Against the advice of, well, the entire Rails community, I attempted to deploy a project to Godaddy.</p>
<p>Godaddy proudly displays the little Ruby logo next to Php when browsing through their hosting plans, and seeing as you can get Rails hosting for $7/month through them, it seems like a decent deal, even if you know it&#8217;s gonna get slow.</p>
<p>Baisically, what ends up happening when deploying to Godaddy, is you upload your application to a special directory you create through their control pannel, modify your dispatch.fcgi file, .htaccess files, turn off Java and pray.  Its all supposed to run as FCGI in the end, which is not the speediest way to deploy a Rails app, but is acceptable for smaller, non-demanding applications.</p>
<p>The application I was attempting to deploy was a Rails 2.1 app, and I found that Godaddy is rocking Rails 1.1.6 (Release Aug 2006), so I froze Rails (standard practice), change the configs to point to the manually created database (no rake support here folks) and tried to hit it.  Nothing.  First, every time you modify the .htaccess file (and you will need to &#8211; many times) it takes 10-30 minutes for Apache to notice.  So, you&#8217;re stuck making a change, waiting, testing, washing and repeating.  If you&#8217;re using FCGI, there is literally NO output into the &#8216;errorlog&#8217; Godaddy gives you, so you have to deploy with regular CGI to get any idea why your application isn&#8217;t working and then switch back to FCGI and pray.</p>
<p>Finally, after a couple hours of searching the interwebs and poking and prodding, I was getting somewhere &#8211; the error log started to get populated, but FastCGI wasn&#8217;t starting correctly.  After some snooping, I saw that Rails 2.1 assumes that you&#8217;re not running whatever version of Gem was around in 2006.  Gem was failing with a <em>method not found</em> error when Rails tries to talk to Godaddy&#8217;s almost 3 year old version.</p>
<p>I putzed around a bit looking for ways to skip that step of Rails&#8217; boot process, swaping out boot.rb files from older version of Rails, hacking, etc.. and to no avail.</p>
<p>This is where I stopped.  I figured that even if I got past this problem, the version of Rmagick was from mid 2006 and would likely not work with my app, and I wasn&#8217;t about to try and get Godaddy to update it.  If they haven&#8217;t updated any of the Rails stuff yet, I don&#8217;t think they are going to any time soon.</p>
<p>My message for Godaddy is this:  I want the entire day I spend on this back.  You should stop advertising that you support Ruby/Rails when you obviously don&#8217;t.  I&#8217;d bet 90% of Rails apps in development today would not be able to run on their hosting plans. Eh.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.johnyerhot.com/2008/11/04/deployment-nightmare-godaddy/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
	</channel>
</rss>
