<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	>
<channel>
	<title>Comments on: Setting Up Rails Development Environment on Ubuntu GNU/Linux</title>
	<atom:link href="http://beans.seartipy.com/2008/07/22/setting-up-rails-development-environment-on-ubuntu-gnulinux/feed/" rel="self" type="application/rss+xml" />
	<link>http://beans.seartipy.com/2008/07/22/setting-up-rails-development-environment-on-ubuntu-gnulinux/</link>
	<description>"The time has come...to talk of many [technologies]." --Lewis Carroll('The Walrus and the Carpenter')</description>
	<pubDate>Fri, 05 Dec 2008 03:54:04 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.6.5</generator>
		<item>
		<title>By: Mark</title>
		<link>http://beans.seartipy.com/2008/07/22/setting-up-rails-development-environment-on-ubuntu-gnulinux/#comment-137188</link>
		<dc:creator>Mark</dc:creator>
		<pubDate>Thu, 24 Jul 2008 22:44:48 +0000</pubDate>
		<guid isPermaLink="false">http://beans.seartipy.com/?p=291#comment-137188</guid>
		<description>it looks like my HEREDOC's got butchered. blah</description>
		<content:encoded><![CDATA[<p>it looks like my HEREDOC&#8217;s got butchered. blah</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Mark</title>
		<link>http://beans.seartipy.com/2008/07/22/setting-up-rails-development-environment-on-ubuntu-gnulinux/#comment-137187</link>
		<dc:creator>Mark</dc:creator>
		<pubDate>Thu, 24 Jul 2008 22:43:34 +0000</pubDate>
		<guid isPermaLink="false">http://beans.seartipy.com/?p=291#comment-137187</guid>
		<description>Probably also want to install git (since a lot of rails devs use it now), sqlite3 (default rails db, great for speedy autotest) &#38; passenger (easiest deployment for rails) all below require su privs (aka sudo su):

aptitude install git libsqlite3-dev apache2-mpm-worker apache2-prefork-dev libapr1 

gem install sqlite3 passenger

passenger-install-apache2-module

echo "LoadModule passenger_module /usr/lib/ruby/gems/1.8/gems/passenger-2.0.2/ext/apache2/mod_passenger.so" &#62; /etc/apache2/mods-available/passenger.load

cat &#60; /etc/apache2/mods-available/passenger.conf
  PassengerRoot /usr/lib/ruby/gems/1.8/gems/passenger-2.0.2
  PassengerRuby /usr/bin/ruby1.8
EOF

cat &#60;/etc/apache2/sites-available/default

  ServerName localhost
  DocumentRoot /path_to_rails_app/public

EOF

a2enmod passenger

apache2ctl configtest

apache2ctl graceful

if you have multiple rails apps you can setup your /etc/hosts file to point each app name @ 127.0.0.1 and use that name in the virtual host "ServerName" declaration</description>
		<content:encoded><![CDATA[<p>Probably also want to install git (since a lot of rails devs use it now), sqlite3 (default rails db, great for speedy autotest) &amp; passenger (easiest deployment for rails) all below require su privs (aka sudo su):</p>
<p>aptitude install git libsqlite3-dev apache2-mpm-worker apache2-prefork-dev libapr1 </p>
<p>gem install sqlite3 passenger</p>
<p>passenger-install-apache2-module</p>
<p>echo &#8220;LoadModule passenger_module /usr/lib/ruby/gems/1.8/gems/passenger-2.0.2/ext/apache2/mod_passenger.so&#8221; &gt; /etc/apache2/mods-available/passenger.load</p>
<p>cat &lt; /etc/apache2/mods-available/passenger.conf<br />
  PassengerRoot /usr/lib/ruby/gems/1.8/gems/passenger-2.0.2<br />
  PassengerRuby /usr/bin/ruby1.8<br />
EOF</p>
<p>cat &lt;/etc/apache2/sites-available/default</p>
<p>  ServerName localhost<br />
  DocumentRoot /path_to_rails_app/public</p>
<p>EOF</p>
<p>a2enmod passenger</p>
<p>apache2ctl configtest</p>
<p>apache2ctl graceful</p>
<p>if you have multiple rails apps you can setup your /etc/hosts file to point each app name @ 127.0.0.1 and use that name in the virtual host &#8220;ServerName&#8221; declaration</p>
]]></content:encoded>
	</item>
</channel>
</rss>
