<?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"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	>
<channel>
	<title>Comments on: ruby and gems on os-x leopard</title>
	<atom:link href="http://punctuatedproductivity.com/2007/11/01/uninstalling-ruby-installed-by-source-on-os-x/feed/" rel="self" type="application/rss+xml" />
	<link>http://punctuatedproductivity.com/2007/11/01/uninstalling-ruby-installed-by-source-on-os-x/</link>
	<description>Experiences of a Software Engineer (cough)</description>
	<pubDate>Wed, 19 Nov 2008 22:15:36 +0000</pubDate>
	<generator>http://wordpress.org/?v=MU</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: Tom Söderlund</title>
		<link>http://punctuatedproductivity.com/2007/11/01/uninstalling-ruby-installed-by-source-on-os-x/#comment-41</link>
		<dc:creator>Tom Söderlund</dc:creator>
		<pubDate>Wed, 08 Oct 2008 13:58:53 +0000</pubDate>
		<guid isPermaLink="false">http://punctuatedproductivity.com/2007/11/01/uninstalling-ruby-installed-by-source-on-os-x/#comment-41</guid>
		<description>I think I have similar problems with multiple Ruby installations on Mac OS X, leading to strange issues with RubyGems (http://www.railsforum.com/viewtopic.php?id=23018) and Aptana RadRails (http://forums.aptana.com/viewtopic.php?p=21960).

What is best practice here? To:
1. Delete the OS X files (in /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/bin/ruby)
2. Delete the MacPorts files (in /opt/local/bin/ruby). If so, should I overwrite the OS X files when new versions are released?
3. Keep both but change the path somehow?

Any input would be most helpful.

Thanks,

Tom.</description>
		<content:encoded><![CDATA[<p>I think I have similar problems with multiple Ruby installations on Mac OS X, leading to strange issues with RubyGems (http://www.railsforum.com/viewtopic.php?id=23018) and Aptana RadRails (http://forums.aptana.com/viewtopic.php?p=21960).</p>
<p>What is best practice here? To:<br />
1. Delete the OS X files (in /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/bin/ruby)<br />
2. Delete the MacPorts files (in /opt/local/bin/ruby). If so, should I overwrite the OS X files when new versions are released?<br />
3. Keep both but change the path somehow?</p>
<p>Any input would be most helpful.</p>
<p>Thanks,</p>
<p>Tom.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jay Daley</title>
		<link>http://punctuatedproductivity.com/2007/11/01/uninstalling-ruby-installed-by-source-on-os-x/#comment-40</link>
		<dc:creator>Jay Daley</dc:creator>
		<pubDate>Thu, 25 Sep 2008 18:27:04 +0000</pubDate>
		<guid isPermaLink="false">http://punctuatedproductivity.com/2007/11/01/uninstalling-ruby-installed-by-source-on-os-x/#comment-40</guid>
		<description>I forgot to say that I already had Leopard installed when I did this and it worked fine.  No need to downgrade or reinstall Leopard.  It can all be done from the command line using your instructions.</description>
		<content:encoded><![CDATA[<p>I forgot to say that I already had Leopard installed when I did this and it worked fine.  No need to downgrade or reinstall Leopard.  It can all be done from the command line using your instructions.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jay Daley</title>
		<link>http://punctuatedproductivity.com/2007/11/01/uninstalling-ruby-installed-by-source-on-os-x/#comment-39</link>
		<dc:creator>Jay Daley</dc:creator>
		<pubDate>Tue, 23 Sep 2008 09:24:19 +0000</pubDate>
		<guid isPermaLink="false">http://punctuatedproductivity.com/2007/11/01/uninstalling-ruby-installed-by-source-on-os-x/#comment-39</guid>
		<description>I followed your correct instructions (remove all my gems first) and it worked a treat.  Thanks.  There were some things left over though so I also had to do the following commands before running the 'hash -r':

sudo rm /usr/local/bin/gem
sudo rm /usr/local/bin/gem_mirror
sudo rm /usr/local/bin/gem_server
sudo rm /usr/local/bin/gemlock
sudo rm /usr/local/bin/gemri
sudo rm /usr/local/bin/gemwhich
sudo rm /usr/local/bin/update_rubygems
sudo rm /usr/local/bin/rails
sudo rm /usr/local/bin/rake
sudo rm /usr/local/bin/mongrel_rails</description>
		<content:encoded><![CDATA[<p>I followed your correct instructions (remove all my gems first) and it worked a treat.  Thanks.  There were some things left over though so I also had to do the following commands before running the &#8216;hash -r&#8217;:</p>
<p>sudo rm /usr/local/bin/gem<br />
sudo rm /usr/local/bin/gem_mirror<br />
sudo rm /usr/local/bin/gem_server<br />
sudo rm /usr/local/bin/gemlock<br />
sudo rm /usr/local/bin/gemri<br />
sudo rm /usr/local/bin/gemwhich<br />
sudo rm /usr/local/bin/update_rubygems<br />
sudo rm /usr/local/bin/rails<br />
sudo rm /usr/local/bin/rake<br />
sudo rm /usr/local/bin/mongrel_rails</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Damon</title>
		<link>http://punctuatedproductivity.com/2007/11/01/uninstalling-ruby-installed-by-source-on-os-x/#comment-36</link>
		<dc:creator>Damon</dc:creator>
		<pubDate>Tue, 20 May 2008 22:17:17 +0000</pubDate>
		<guid isPermaLink="false">http://punctuatedproductivity.com/2007/11/01/uninstalling-ruby-installed-by-source-on-os-x/#comment-36</guid>
		<description>So... I need some help. I had installed Ruby before I upgraded to Leopard. When I found out Leopard included ruby and rails, I guessed that I could just use that one. First, following Apple's instructions, I did all the updates. A test app I made wouldn't run. I tried deleting the folder with all the original Ruby stuff I had installed before the Leopard update. Still got an error when running, so i commented out the line that specifies which Ruby to use to run the app. App still didn't run. Basically, what do I do to maybe wipe everything Ruby related and start over? To reiterate: I did the Ruby updates Apple suggested, then deleted the directory I had downloaded and installed all my Ruby stuff to initially, and that's it. What can I do to get Ruby working?</description>
		<content:encoded><![CDATA[<p>So&#8230; I need some help. I had installed Ruby before I upgraded to Leopard. When I found out Leopard included ruby and rails, I guessed that I could just use that one. First, following Apple&#8217;s instructions, I did all the updates. A test app I made wouldn&#8217;t run. I tried deleting the folder with all the original Ruby stuff I had installed before the Leopard update. Still got an error when running, so i commented out the line that specifies which Ruby to use to run the app. App still didn&#8217;t run. Basically, what do I do to maybe wipe everything Ruby related and start over? To reiterate: I did the Ruby updates Apple suggested, then deleted the directory I had downloaded and installed all my Ruby stuff to initially, and that&#8217;s it. What can I do to get Ruby working?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Danyel Lawson</title>
		<link>http://punctuatedproductivity.com/2007/11/01/uninstalling-ruby-installed-by-source-on-os-x/#comment-28</link>
		<dc:creator>Danyel Lawson</dc:creator>
		<pubDate>Sun, 09 Mar 2008 17:46:34 +0000</pubDate>
		<guid isPermaLink="false">http://punctuatedproductivity.com/2007/11/01/uninstalling-ruby-installed-by-source-on-os-x/#comment-28</guid>
		<description>First "hash -r" will fix a file not found error in the current shell. "hash" by itself will show you where the current shell thinks the file is located.

Second check out my post for a way back to Leopard that fixes the Railes Requires RubyGems error and restores the ability to fearlessly do "gem update --system" and even "gem update".  Which updates all gems and was the start of my troubles.

http://freegnu.blogspot.com/2008/03/rails-requires-rubygems-094-error-on.html</description>
		<content:encoded><![CDATA[<p>First &#8220;hash -r&#8221; will fix a file not found error in the current shell. &#8220;hash&#8221; by itself will show you where the current shell thinks the file is located.</p>
<p>Second check out my post for a way back to Leopard that fixes the Railes Requires RubyGems error and restores the ability to fearlessly do &#8220;gem update &#8211;system&#8221; and even &#8220;gem update&#8221;.  Which updates all gems and was the start of my troubles.</p>
<p><a href="http://freegnu.blogspot.com/2008/03/rails-requires-rubygems-094-error-on.html" rel="nofollow">http://freegnu.blogspot.com/2008/03/rails-requires-rubygems-094-error-on.html</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Corey Ehmke</title>
		<link>http://punctuatedproductivity.com/2007/11/01/uninstalling-ruby-installed-by-source-on-os-x/#comment-23</link>
		<dc:creator>Corey Ehmke</dc:creator>
		<pubDate>Sun, 03 Feb 2008 22:19:11 +0000</pubDate>
		<guid isPermaLink="false">http://punctuatedproductivity.com/2007/11/01/uninstalling-ruby-installed-by-source-on-os-x/#comment-23</guid>
		<description>Thanks for pointing me in the right direction! I had used Migration Assistant to move from a PPC box to an Intel box, and thus my woes began...

I took a slightly different approach, removing only some of the files from /usr/local/bin. Hopefully this doesn't come around to bite me. File lists (including pesky ImageMagick and RMagick files) can be found on my "sister post" at http://www.idolhands.com/blog/2008/02/03/ruby-on-leopard/</description>
		<content:encoded><![CDATA[<p>Thanks for pointing me in the right direction! I had used Migration Assistant to move from a PPC box to an Intel box, and thus my woes began&#8230;</p>
<p>I took a slightly different approach, removing only some of the files from /usr/local/bin. Hopefully this doesn&#8217;t come around to bite me. File lists (including pesky ImageMagick and RMagick files) can be found on my &#8220;sister post&#8221; at <a href="http://www.idolhands.com/blog/2008/02/03/ruby-on-leopard/" rel="nofollow">http://www.idolhands.com/blog/2008/02/03/ruby-on-leopard/</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Radio Bantik: Days in the Life of an Alpha Geek &#187; Blog Archive &#187; Post-Migration Ruby Leopard Blues</title>
		<link>http://punctuatedproductivity.com/2007/11/01/uninstalling-ruby-installed-by-source-on-os-x/#comment-22</link>
		<dc:creator>Radio Bantik: Days in the Life of an Alpha Geek &#187; Blog Archive &#187; Post-Migration Ruby Leopard Blues</dc:creator>
		<pubDate>Sun, 03 Feb 2008 22:09:49 +0000</pubDate>
		<guid isPermaLink="false">http://punctuatedproductivity.com/2007/11/01/uninstalling-ruby-installed-by-source-on-os-x/#comment-22</guid>
		<description>[...] Google time later, I came across this post on Punctuated Productivity; that set me in the right direction for uninstalling the old version and [...]</description>
		<content:encoded><![CDATA[<p>[...] Google time later, I came across this post on Punctuated Productivity; that set me in the right direction for uninstalling the old version and [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Derek</title>
		<link>http://punctuatedproductivity.com/2007/11/01/uninstalling-ruby-installed-by-source-on-os-x/#comment-7</link>
		<dc:creator>Derek</dc:creator>
		<pubDate>Sat, 17 Nov 2007 02:34:14 +0000</pubDate>
		<guid isPermaLink="false">http://punctuatedproductivity.com/2007/11/01/uninstalling-ruby-installed-by-source-on-os-x/#comment-7</guid>
		<description>Thanks man. Sounds like a big pain in the ass. I think I'll leave mine alone. :)</description>
		<content:encoded><![CDATA[<p>Thanks man. Sounds like a big pain in the ass. I think I&#8217;ll leave mine alone. <img src='http://s.wordpress.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
]]></content:encoded>
	</item>
</channel>
</rss>
