<?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>ten.ynottony.net &#187; Ruby</title>
	<atom:link href="http://ten.ynottony.net/category/ruby/feed/" rel="self" type="application/rss+xml" />
	<link>http://ten.ynottony.net</link>
	<description>He's at it again...</description>
	<lastBuildDate>Sat, 05 Feb 2011 11:21:32 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<item>
		<title>Ruby Gems on Ubuntu 8.10</title>
		<link>http://ten.ynottony.net/2008/11/ruby-gems-on-ubuntu-810/</link>
		<comments>http://ten.ynottony.net/2008/11/ruby-gems-on-ubuntu-810/#comments</comments>
		<pubDate>Thu, 20 Nov 2008 15:06:21 +0000</pubDate>
		<dc:creator>Anthony Batchelor</dc:creator>
				<category><![CDATA[Programming]]></category>
		<category><![CDATA[Ruby]]></category>
		<category><![CDATA[Ubuntu]]></category>

		<guid isPermaLink="false">http://ten.ynottony.net/2008/11/20/ruby-gems-on-ubuntu-810/</guid>
		<description><![CDATA[Today I was setting up ruby, rails and capistrano on Ubuntu 8.10.Â  It turns out that the gems binary path was not in my path. To fix it, edit your ~/.bashrc file. gedit ~/.bashrc Add these lines to the bottom &#8230; <a href="http://ten.ynottony.net/2008/11/ruby-gems-on-ubuntu-810/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>Today I was setting up ruby, rails and capistrano on Ubuntu 8.10.Â  It turns out that the gems binary path was not in my path.</p>
<p>To fix it, edit your ~/.bashrc file.<br />
<code>gedit ~/.bashrc</code></p>
<p>Add these lines to the bottom of the file.<br />
<code>#Export the path for Ruby Gems<br />
export PATH=$PATH:/var/lib/gems/1.8/bin</code></p>
<p>Save it and then source the file (to save you from logging-out and back in again).<br />
<code>source ~/.bashrc</code></p>
<p>Then you should be able to run capistrano as you would expect.</p>
<p><strong>Please note: There are potential problems with this as Ruby Gems can install system libraries in this path that end up being used instead of the correct system ones.Â  This can potentially cause problems.Â  See <a title="Launhpad bug" href="https://bugs.launchpad.net/ubuntu/+bug/262063" target="_blank">Launchpad bug #262063</a> for a discussion of the issue.</strong></p>
]]></content:encoded>
			<wfw:commentRss>http://ten.ynottony.net/2008/11/ruby-gems-on-ubuntu-810/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

