<?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>Floyd's Thoughts... &#187; CentOS</title>
	<atom:link href="http://www.floydprice.com/category/centos/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.floydprice.com</link>
	<description>Because Everything is Interesting!!!</description>
	<lastBuildDate>Fri, 18 Jun 2010 05:32:05 +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>Installing Ruby Enterprise Edition on CentOS 5.2</title>
		<link>http://www.floydprice.com/2008/08/installing-ruby-enterprise-edition-on-centos-52/</link>
		<comments>http://www.floydprice.com/2008/08/installing-ruby-enterprise-edition-on-centos-52/#comments</comments>
		<pubDate>Wed, 13 Aug 2008 19:04:19 +0000</pubDate>
		<dc:creator>Floyd Price</dc:creator>
				<category><![CDATA[CentOS]]></category>
		<category><![CDATA[Rails]]></category>
		<category><![CDATA[Ruby]]></category>

		<guid isPermaLink="false">http://www.floydprice.com/?p=33</guid>
		<description><![CDATA[Installing Ruby 1.8.6 on CentOS is not as easy as you would hope. The YUM repositories do not have anywhere near the latest version of ruby so you are forced into installing from source, which means locating and installing many dependancies before building ruby itself. I have found myself building ruby several times on a [...]]]></description>
			<content:encoded><![CDATA[<p>Installing Ruby 1.8.6 on CentOS is not as easy as you would hope. The YUM repositories do not have anywhere near the latest version of ruby so you are forced into installing from source, which means locating and installing many dependancies before building ruby itself.</p>
<p>I have found myself building ruby several times on a new CentOS box after realizing that i had missed a dependancy that was required to use rails or some other ruby component.</p>
<p>I was going to write up a step by step guide to installing Ruby 1.8.6, Rails, MySql, etc&#8230; on CentOS 5.2 (and i may still do this) however i have found that the guys who wrote <a href="http://www.modrails.com/">Phusion Passenger</a> have also build a version of Ruby that as well as having a lower memory footprint has a convenient installer that takes the pain out of building from source.</p>
<p>Here are my steps for installing <a href="http://www.rubyenterpriseedition.com/">Ruby Enterprise Edition</a> on CentOS 5.2</p>
<p>* 1. ssh into CentOS using your favorite ssh client.<br />
* 2. cd /usr/local/src<br />
(this is where I downloaded the source to you can do this anywhere i guess)<br />
* 3. sudo wget http://rubyforge.org/frs/download.php/41040/ruby-enterprise-1.8.6-20080810.tar.gz<br />
(this is the latest version at the time of writing this post)<br />
* 4. tar xzvf ruby-enterprise-1.8.6-20080810.tar.gz<br />
* 5. sudo ./bin/ruby-enterprise-1.8.6-20080810/installer</p>
<p>The last step starts the convenient installer process that will build everything you need from sources. </p>
<p>I found that first time the script ran i didn&#8217;t have MySql or PostgreSQL development header files so i installed them using </p>
<p>* sudo yum install postgresql-devel.i386<br />
* sudo um install mysql-devel.i386</p>
<p>After running the install script again it completed with no errors (you could have just ran the gem install again rather than installing the whole of ruby&#8230;)</p>
<p>The great thing about this installer is that it isolates the installation and does not touch any system files so it will not screw up any of your existing ruby installs.</p>
<p><a href="http://www.traqus.com">We</a> have been using <a href="http://www.rubyenterpriseedition.com/">Ruby Enterprise Edition</a> on one of our projects for a few weeks now and i have to say that it works really well, and it also includes the recent security patches for ruby &#8211; sweet!</p>
<p>Oh don&#8217;t let the name put you off <a href="http://www.rubyenterpriseedition.com/">Ruby Enterprise Edition</a> is actually Open Source &#8211; Yay <img src='http://www.floydprice.com/wp-includes/images/smilies/icon_wink.gif' alt=';-)' class='wp-smiley' />  </p>
]]></content:encoded>
			<wfw:commentRss>http://www.floydprice.com/2008/08/installing-ruby-enterprise-edition-on-centos-52/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
	</channel>
</rss>
