<?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>Stubbleblog &#187; apache</title>
	<atom:link href="http://www.stubbleblog.com/index.php/tag/apache/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.stubbleblog.com</link>
	<description>A curious nerd.</description>
	<lastBuildDate>Mon, 02 Jan 2012 18:30:58 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.2.1</generator>
		<item>
		<title>Ruby/Rails/Fedora/Apache2</title>
		<link>http://www.stubbleblog.com/index.php/2005/07/rubyrailsfedora/</link>
		<comments>http://www.stubbleblog.com/index.php/2005/07/rubyrailsfedora/#comments</comments>
		<pubDate>Sat, 02 Jul 2005 18:42:18 +0000</pubDate>
		<dc:creator>Tony Stubblebine</dc:creator>
				<category><![CDATA[apache]]></category>
		<category><![CDATA[rails]]></category>
		<category><![CDATA[ruby]]></category>

		<guid isPermaLink="false">http://www.stubbleblog.com/wp/?p=35</guid>
		<description><![CDATA[
]]></description>
			<content:encoded><![CDATA[<p>I had much more trouble with this install than I did for Ubuntu, probably because I was trying to do more.</p>
<p>I started by trying to get packages with yum.<br />
<em>yum install ruby irb ruby-devel</em></p>
<p>That lead to a dependancy issue. I needed <em>apxs</em>, but what package is it in? Ended up being in the <em>httpd-devel</em> package.</p>
<p>Then I moved on to installing mod_ruby. Having the ruby interpreter run inside Apache seems like a good idea &#8211; at least from a performance standpoint. Here&#8217;s the guide I worked from.<br />
<a href="http://www.modruby.net/en/doc/?InstallGuide">http://www.modruby.net/en/doc/?InstallGuide</a></p>
<p>However, it turns out that mod_ruby comes with a slew of namespace complications. From the <a href="http://wiki.rubyonrails.com/rails/show/mod_ruby">rails wiki</a>, &#8220;considered unsafe to use mod_ruby and Rails with more than one application.&#8221;</p>
<p>FastCGI is a safer alternative. The rails wiki has good setup documentation:</p>
<p><a href="http://wiki.rubyonrails.com/rails/show/RailsOnFedora">http://wiki.rubyonrails.com/rails/show/RailsOnFedora</a></p>
<p>I did run into trouble with MySQL &#8211; I needed to tell Rails where the mysql.sock file was. Here&#8217;s a ticket explaining the problem.<br />
<a href="http://dev.rubyonrails.com/ticket/200">http://dev.rubyonrails.com/ticket/200</a></p>
<h3 class='related_post_title'>Related Posts:</h3>
<ul class='related_post'>
<li><a href='http://www.stubbleblog.com/index.php/2011/04/writing-rails-engines-getting-started/' title='Writing Rails Engines #1: Getting Started'>Writing Rails Engines #1: Getting Started</a></li>
<li><a href='http://www.stubbleblog.com/index.php/2006/01/etel-2006-day-1/' title='ETel 2006: Day 1.'>ETel 2006: Day 1.</a></li>
<li><a href='http://www.stubbleblog.com/index.php/2005/07/online-ruby-tra/' title='Online Ruby Training'>Online Ruby Training</a></li>
<li><a href='http://www.stubbleblog.com/index.php/2005/06/ubuntu-on-rails/' title='Ubuntu on Rails: Getting up to speed with Ruby on Rails and Ubuntu'>Ubuntu on Rails: Getting up to speed with Ruby on Rails and Ubuntu</a></li>
<li><a href='http://www.stubbleblog.com/index.php/2007/06/rails-xss-filte/' title='Rails XSS Filter'>Rails XSS Filter</a></li>
</ul>
]]></content:encoded>
			<wfw:commentRss>http://www.stubbleblog.com/index.php/2005/07/rubyrailsfedora/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
<!-- This Quick Cache file was built for (  www.stubbleblog.com/index.php/tag/apache/feed/ ) in 0.27202 seconds, on Feb 11th, 2012 at 8:12 am UTC. -->
<!-- This Quick Cache file will automatically expire ( and be re-built automatically ) on Feb 18th, 2012 at 8:12 am UTC -->
