<?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>UNIXy &#187; RoR</title>
	<atom:link href="http://blog.unixy.net/tag/ror/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.unixy.net</link>
	<description>Fully Managed Dedicated Servers</description>
	<lastBuildDate>Thu, 09 Sep 2010 07:08:44 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.1</generator>
		<item>
		<title>Installing Ruby On a cPanel Server</title>
		<link>http://blog.unixy.net/2009/04/installing-ruby-on-a-cpanel-server/</link>
		<comments>http://blog.unixy.net/2009/04/installing-ruby-on-a-cpanel-server/#comments</comments>
		<pubDate>Sat, 11 Apr 2009 16:26:51 +0000</pubDate>
		<dc:creator>UNIXy</dc:creator>
				<category><![CDATA[Crash Course]]></category>
		<category><![CDATA[Amazon]]></category>
		<category><![CDATA[cPanel]]></category>
		<category><![CDATA[RoR]]></category>
		<category><![CDATA[Ruby]]></category>
		<category><![CDATA[S3]]></category>
		<category><![CDATA[yum]]></category>

		<guid isPermaLink="false">http://blog.unixy.net/?p=7</guid>
		<description><![CDATA[A customer wanted Amazon&#8217;s S3 tools installed on his Centos 5.3 server in order to backup important files off-network. The task is straight forward as it requires installing the usual Ruby interpreter, tools, and Gems. But as it turned out, cPanel appends an exclude line in /etc/yum.conf to prevent installing anything related to Ruby: exclude=apache* [...]]]></description>
			<content:encoded><![CDATA[<div class="tweetmeme_button" style="float: right; margin-left: 10px;">
			<a href="http://api.tweetmeme.com/share?url=http%3A%2F%2Fblog.unixy.net%2F2009%2F04%2Finstalling-ruby-on-a-cpanel-server%2F"><br />
				<img src="http://api.tweetmeme.com/imagebutton.gif?url=http%3A%2F%2Fblog.unixy.net%2F2009%2F04%2Finstalling-ruby-on-a-cpanel-server%2F&amp;style=normal" height="61" width="50" /><br />
			</a>
		</div>
<p>A customer wanted Amazon&#8217;s S3 tools installed on his Centos 5.3 server in order to backup important files off-network. The task is straight forward as it requires installing the usual Ruby interpreter, tools, and Gems. But as it turned out, cPanel appends an exclude line in /etc/yum.conf to prevent installing anything related to Ruby:</p>
<blockquote><p>exclude=apache* bind-chroot courier* dovecot* exim* httpd* mod_ssl* mysql* nsd* perl* php* proftpd* pure-ftpd* <strong>ruby*</strong> spamassassin* squirrelmail*</p></blockquote>
<p>I&#8217;m reluctant to un-exclude the ruby* entry as it could somehow break the cPanel production install. The next logical thing to do in this case is to scan /scripts for anything ruby related:</p>
<blockquote><p>[/scripts]# ls -1|grep -i ruby<br />
installruby*</p></blockquote>
<p>Bingo! The cPanel conformant way of installing Ruby is to run /scripts/installruby. But it&#8217;s important to read cPanel&#8217;s document on RoR just in case. Here&#8217;s the URL:</p>
<blockquote><p>http://www.cpanel.net/docs/ror/index.html</p></blockquote>
<p>I then simply ran the script to install Ruby and configure S3 to keep the customer happy! I hope this will help someone carry on the Ruby installation.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.unixy.net/2009/04/installing-ruby-on-a-cpanel-server/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
	</channel>
</rss>
