<?xml version="1.0" encoding="UTF-8"?>

<rss version='2.0' 
     xmlns:creativeCommons="http://backend.userland.com/creativeCommonsRssModule"
     xmlns:doap="http://usefulinc.com/ns/doap#"
     xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#">

    <channel>
        <!-- This XML Feed shows details for the page Ruby_on_Rails 
             and everything recently tagged Ruby_on_Rails -->
        <creativeCommons:license>http://creativecommons.org/licenses/by-sa/2.5/
          </creativeCommons:license>
        <title>Ruby_on_Rails on SWiK</title>
		<link>http://swik.net/Ruby_on_Rails</link>
        <doap:name>Ruby_on_Rails</doap:name>
        <doap:description></doap:description>
        <description></description> 
	  <!-- see doap:description for full description -->
        <link>http://swik.net/Ruby_on_Rails</link>
        
        <pubDate></pubDate>
        <lastBuildDate></lastBuildDate>
            
        <item>
            <title>/trunk/ - Rails Trac - Trac</title>
            <link>http://swik.net/Trac/del.icio.us%2Ftag%2Ftrac/%2Ftrunk%2F+-+Rails+Trac+-+Trac/cgz6w</link>
            <description></description>
            
            <pubDate>Tue, 07 Oct 2008 01:48:53 -0700</pubDate>
        </item>
            
        <item>
            <title>Git User&#039;s Manual (for version 1.5.3 or newer)</title>
            <link>http://swik.net/git/del.icio.us+tag%2Fgit/Git+User%27s+Manual+%28for+version+1.5.3+or+newer%29/cb4kq</link>
            <description></description>
            
            <pubDate>Sun, 10 Aug 2008 13:16:57 -0700</pubDate>
        </item>
            
        <item>
            <title>Andy Delcambre: Git SVN Workflow</title>
            <link>http://swik.net/git/del.icio.us+tag%2Fgit/Andy+Delcambre%3A+Git+SVN+Workflow/cbykq</link>
            <description></description>
            
            <pubDate>Fri, 08 Aug 2008 10:08:09 -0700</pubDate>
        </item>
            
        <item>
            <title>RadRails - A Ruby on Rails IDE</title>
            <link>http://swik.net/Eclipse/del.icio.us%2Ftag%2Feclipse/RadRails+-+A+Ruby+on+Rails+IDE/b9v1j</link>
            <description>RadRails is an integrated development environment for the Ruby on Rails framework. The goal of this project is to provide Rails developers with everything they need to develop, manage, test and deploy their applications.</description>
            
            <pubDate>Thu, 10 Jul 2008 11:53:05 -0700</pubDate>
        </item>
            
        <item>
            <title>Redmine - Overview - Redmine</title>
            <link>http://swik.net/open-source/del.icio.us+tag%2Fopen-source/Redmine+-+Overview+-+Redmine/b6cg5</link>
            <description>&amp;quot;Redmine is a flexible project management web application. Written using Ruby on Rails framework, it is cross-platform and cross-database.&amp;quot;</description>
            
            <pubDate>Sun, 01 Jun 2008 12:43:00 -0700</pubDate>
        </item>
            
        <item>
            <title>404 Blog Not Found:オープンソースはゲットーか?</title>
            <link>http://swik.net/opensource/del.icio.us+tag%2Fopensource/404+Blog+Not+Found%3A%E3%82%AA%E3%83%BC%E3%83%97%E3%83%B3%E3%82%BD%E3%83%BC%E3%82%B9%E3%81%AF%E3%82%B2%E3%83%83%E3%83%88%E3%83%BC%E3%81%8B%3F/bzfga</link>
            <description>これの裏を考えると怖い推論だな&amp;gt;彼がなぜ Mongrel で「人生すっちゃった」かといえば、「リリース-反響スパイラル」にはまったからだと言ってもいいのではないか。</description>
            
            <pubDate>Thu, 03 Jan 2008 04:07:05 -0800</pubDate>
        </item>
            
        <item>
            <title>Creating an RSS feed in Ruby on Rails</title>
            <link>http://swik.net/XML/del.icio.us%2Ftag%2Fxml/Creating+an+RSS+feed+in+Ruby+on+Rails/bvb2v</link>
            <description>Creating an RSS feed for your website in Ruby on Rails is very simple.</description>
            
            <pubDate>Sun, 25 Nov 2007 14:37:37 -0800</pubDate>
        </item>
            
        <item>
            <title>GeoBliki&#039;s trac</title>
            <link>http://swik.net/opensource/del.icio.us+tag%2Fopensource/GeoBliki%27s+trac/bva5d</link>
            <description></description>
            
            <pubDate>Sun, 25 Nov 2007 09:31:40 -0800</pubDate>
        </item>
            
        <item>
            <title>Katipo Developers Blog &quot; Blog Archive &quot; Installing and Configuring Aquamacs (Emacs 22 for Mac OS X) with Ruby and Ruby on Rails Development Niceties</title>
            <link>http://swik.net/Emacs/del.icio.us+tag%2Femacs/Katipo+Developers+Blog+%22+Blog+Archive+%22+Installing+and+Configuring+Aquamacs+%28Emacs+22+for+Mac+OS+X%29+with+Ruby+and+Ruby+on+Rails+Development+Niceties/bk5yg</link>
            <description>Uses .emacs instead of Aquamacs directory structure. Discusses how emacs does not use $PATH variable, and hence&amp;amp;lt;sep/&amp;amp;gt;</description>
            
            <pubDate>Thu, 30 Aug 2007 14:18:39 -0700</pubDate>
        </item>
            
        <item>
            <title>Aptana: Download Aptana IDE + Rails</title>
            <link>http://swik.net/Eclipse/del.icio.us%2Ftag%2Feclipse/Aptana%3A+Download+Aptana+IDE+%2B+Rails/biyh8</link>
            <description>The eclipse IDE used by Rails developers</description>
            
            <pubDate>Tue, 14 Aug 2007 13:25:59 -0700</pubDate>
        </item>
            
        <item>
            <title>Rails On Emacs (in english)</title>
            <link>http://swik.net/Emacs/del.icio.us+tag%2Femacs/Rails+On+Emacs+%28in+english%29/bighm</link>
            <description>Rails On Emacs</description>
            
            <pubDate>Fri, 10 Aug 2007 13:24:13 -0700</pubDate>
        </item>
            
        <item>
            <title>Tamino on Rails</title>
            <link>http://swik.net/XML/del.icio.us%2Ftag%2Fxml/Tamino+on+Rails/bgsmr</link>
            <description></description>
            
            <pubDate>Mon, 30 Jul 2007 07:47:44 -0700</pubDate>
        </item>
            
        <item>
            <title>xlsuite</title>
            <link>http://swik.net/xlsuite</link>
            <doap:name>xlsuite</doap:name>
            <description>&lt;p&gt;XLsuite is a ruby on rails based &lt;span class=&quot;caps&quot;&gt;CRM&lt;/span&gt; / &lt;span class=&quot;caps&quot;&gt;CMS&lt;/span&gt; system that incorporates best of breed functionality like tagging, lots of ajax and&lt;/p&gt;
</description>
                    <category>Ruby</category>
        <category>Rails</category>
        <category>CMS</category>
        <category>CRM</category>
        <category>rubyonrails</category>
        <category>Ruby_on_Rails</category>
        <category>business_management</category>
                                              
            <pubDate>Thu, 28 Jun 2007 01:17:55 -0700</pubDate>
        </item>

        <item>
            <title>RubyForge: Welcome</title>
            <link>http://swik.net/opensource/del.icio.us+tag%2Fopensource/RubyForge%3A+Welcome/bcki7</link>
            <description></description>
            
            <pubDate>Sat, 23 Jun 2007 14:53:23 -0700</pubDate>
        </item>
            
        <item>
            <title>ベニオフ氏のインタビュー記事に思う開発ツールモデルの変化 - Allegro Barbaro [ITmedia オルタナティブ・ブログ]</title>
            <link>http://swik.net/XML/del.icio.us%2Ftag%2Fxml/%E3%83%99%E3%83%8B%E3%82%AA%E3%83%95%E6%B0%8F%E3%81%AE%E3%82%A4%E3%83%B3%E3%82%BF%E3%83%93%E3%83%A5%E3%83%BC%E8%A8%98%E4%BA%8B%E3%81%AB%E6%80%9D%E3%81%86%E9%96%8B%E7%99%BA%E3%83%84%E3%83%BC%E3%83%AB%E3%83%A2%E3%83%87%E3%83%AB%E3%81%AE%E5%A4%89%E5%8C%96+-+Allegro+Barbaro+%5BITmedia+%E3%82%AA%E3%83%AB%E3%82%BF%E3%83%8A%E3%83%86%E3%82%A3%E3%83%96%E3%83%BB%E3%83%96%E3%83%AD%E3%82%B0%5D/bahc3</link>
            <description></description>
            
            <pubDate>Sat, 09 Jun 2007 07:49:25 -0700</pubDate>
        </item>
            
        <item>
            <title>Rails on Emacs</title>
            <link>http://swik.net/Emacs/del.icio.us+tag%2Femacs/Rails+on+Emacs/6xgt</link>
            <description>Rails On Emacs</description>
            
            <pubDate>Fri, 11 May 2007 10:49:33 -0700</pubDate>
        </item>
            
        <item>
            <title>gotAPI.com - quick developer reference for CSS, HTML, JavaScript, PHP, AJAX, SQL and more</title>
            <link>http://swik.net/XML/del.icio.us%2Ftag%2Fxml/gotAPI.com+-+quick+developer+reference+for+CSS%2C+HTML%2C+JavaScript%2C+PHP%2C+AJAX%2C+SQL+and+more/445t</link>
            <description></description>
            
            <pubDate>Sat, 28 Apr 2007 11:43:36 -0700</pubDate>
        </item>
            
        <item>
            <title>Ruby on Rails and XML</title>
            <link>http://swik.net/XML/del.icio.us%2Ftag%2Fxml/Ruby+on+Rails+and+XML/4i3v</link>
            <description>This tutorial is for a general programming crowd interested in learning the basics of setting up a skeleton Rails application and using Ruby and Rails to process XML. Beginner and intermediate programmers or people who have a little bit of exposure to Rai</description>
            
            <pubDate>Sat, 21 Apr 2007 08:55:50 -0700</pubDate>
        </item>
            
        <item>
            <title>Ruby on Rails Installation Instructions Updated</title>
            <link>http://swik.net/MySQL/Planet+MySQL/Ruby+on+Rails+Installation+Instructions+Updated/13ve</link>
            <description>&lt;p&gt;I&amp;#8217;ve updated and tweaked the Ruby on Rails installation instructions for &lt;span class=&quot;caps&quot;&gt;OS X&lt;/span&gt;. The changes include bringing the version of Ruby from 1.8.5 to 1.8.6, RubyGems from 0.9.0 to 0.9.2, the latest version of MySQL, changes relating to building the MySQL Native Bindings, a few additional explanations and notes, and more.&lt;/p&gt;


&lt;hr/&gt;
&lt;strong&gt;The Hivelogic Radio Show&lt;/strong&gt; &amp;#8211; Dan Benjamin&amp;#8217;s &lt;a href=&quot;http://hivelogic.com/podcast&quot;&gt;new podcast is here&lt;/a&gt;.</description>
            
            <pubDate>Mon, 02 Apr 2007 15:05:19 -0700</pubDate>
        </item>
            
        <item>
            <title>Locomotive</title>
            <link>http://swik.net/opensource/del.icio.us+tag%2Fopensource/Locomotive/0f0b</link>
            <description></description>
            
            <pubDate>Sun, 11 Mar 2007 23:33:46 -0700</pubDate>
        </item>
            
        <item>
            <title>【ハウツー】Ruby on Rails 開発環境&quot;RadRails&quot; (MYCOMジャーナル)</title>
            <link>http://swik.net/Eclipse/del.icio.us%2Ftag%2Feclipse/%E3%80%90%E3%83%8F%E3%82%A6%E3%83%84%E3%83%BC%E3%80%91Ruby+on+Rails+%E9%96%8B%E7%99%BA%E7%92%B0%E5%A2%83%22RadRails%22+%28MYCOM%E3%82%B8%E3%83%A3%E3%83%BC%E3%83%8A%E3%83%AB%29/x0bv</link>
            <description> eclipseでRuby on Railsってすてき。</description>
            
            <pubDate>Sat, 17 Feb 2007 06:36:57 -0800</pubDate>
        </item>
            
        <item>
            <title>RadRails: A free and open source Ruby on Rails IDE</title>
            <link>http://swik.net/Eclipse/del.icio.us%2Ftag%2Feclipse/RadRails%3A+A+free+and+open+source+Ruby+on+Rails+IDE/x0bs</link>
            <description> ruby on railsをwindows上であつかえる。eclipseベースのIDE。</description>
            
            <pubDate>Sat, 17 Feb 2007 06:36:57 -0800</pubDate>
        </item>
            
        <item>
            <title>Building Ruby, Rails, Subversion, Mongrel, and MySQL on Mac OS X</title>
            <link>http://swik.net/MySQL/Planet+MySQL/Building+Ruby%2C+Rails%2C+Subversion%2C+Mongrel%2C+and+MySQL+on+Mac+OS+X/w5js</link>
            <description>&lt;p&gt;This article is a major update to the older (but tried-and-true) post, &lt;a href=&quot;/narrative/articles/ruby_rails_lighttpd_mysql_tiger&quot;&gt;Building Ruby, Rails, LightTPD, and MySQL on Tiger&lt;/a&gt;. Both Ruby, Rails, and their underlying infrastructure have come a long way in recent months, and this article will get you to a leaner, meaner Rails install in less time using fewer steps.&lt;/p&gt;


	&lt;p&gt;This article is updated on a regular basis as new versions of the software are released.&lt;/p&gt;


	&lt;p&gt;What follows are instructions for building and installing the following applications on Mac &lt;span class=&quot;caps&quot;&gt;OS X 10&lt;/span&gt;.4 (Tiger) along with their supportive software. I&amp;#8217;ve been told that these steps work just fine on Mac &lt;span class=&quot;caps&quot;&gt;OS X 10&lt;/span&gt;.3 (Panther) as well, but I haven&amp;#8217;t verified this myself, and your mileage may vary.&lt;/p&gt;


	&lt;ul&gt;
	&lt;li&gt;&lt;a href=&quot;http://www.ruby-lang.org/&quot;&gt;Ruby 1.8.5&lt;/a&gt;&lt;/li&gt;
		&lt;li&gt;&lt;a href=&quot;http://rubyonrails.com/&quot;&gt;Ruby on Rails 1.2&lt;/a&gt;&lt;/li&gt;
		&lt;li&gt;&lt;a href=&quot;http://mongrel.rubyforge.org/&quot;&gt;Mongrel&lt;/a&gt;&lt;/li&gt;
		&lt;li&gt;&lt;a href=&quot;http://subversion.tigris.org/&quot;&gt;Subversion 1.3.2&lt;/a&gt;&lt;/li&gt;
		&lt;li&gt;&lt;a href=&quot;http://mysql.org/&quot;&gt;MySQL 5&lt;/a&gt;&lt;/li&gt;
	&lt;/ul&gt;


	&lt;p&gt;Compiling and installing these tools this way is well worth the effort, as the end result delivers an easy-to-upgrade, system-independent, stand-alone development platform that is impervious to potential problems that can be caused by system updates, operating system upgrades, etc.&lt;/p&gt;


	&lt;p&gt;By rolling our own from source this way, we also have full control over our environment. We know what&amp;#8217;s installed and where, what version we&amp;#8217;ve used, where it came from, and there&amp;#8217;s no dependence on an external ports system and the breakage or issues that come from relying on others to manage our software.&lt;/p&gt;


	&lt;p&gt;These issues and additional background information about &lt;em&gt;why&lt;/em&gt; one might roll their own tools in this fashion are detailed in the article, &lt;a href=&quot;/narrative/articles/using_usr_local&quot;&gt;Using /usr/local/&lt;/a&gt;, which could be considered a prerequisite for this task.&lt;/p&gt;


	&lt;h3&gt;About (Not) Removing Old Versions&lt;/h3&gt;


	&lt;p&gt;One of the great things about building these particular apps from source like this is that we don&amp;#8217;t need to worry about removing older versions. When we build the new ones, they will replace the older versions as needed, and your system will be up to date with just the latest, greatest software.&lt;/p&gt;


	&lt;h3&gt;The Concept&lt;/h3&gt;


	&lt;p&gt;Basically, what we&amp;#8217;re going to do here is download a bunch of open-source tools (some of which rely upon each other to work), configure them, compile them, and install them, one by one, until we have everything we need for a Mac &lt;span class=&quot;caps&quot;&gt;OS X&lt;/span&gt; machine to run Ruby on Rails.&lt;/p&gt;


	&lt;h3&gt;What&amp;#8217;s Needed&lt;/h3&gt;


	&lt;p&gt;A few things are needed to get this going:&lt;/p&gt;


	&lt;ol&gt;
	&lt;li&gt;Mac &lt;span class=&quot;caps&quot;&gt;OS X 10&lt;/span&gt;.4 (and maybe 10.3)&lt;/li&gt;
		&lt;li&gt;Xcode 2.4 or newer (this compiles the apps for us)&lt;/li&gt;
		&lt;li&gt;Willingness to type commands into the Terminal application exactly as they appear here (cut-n-paste works too)&lt;/li&gt;
		&lt;li&gt;A tasty beverage to enjoy while things compile&lt;/li&gt;
	&lt;/ol&gt;


	&lt;p&gt;&lt;strong&gt;Note:&lt;/strong&gt; Xcode is not installed by default on new Macs, but can be found on the Mac &lt;span class=&quot;caps&quot;&gt;OS X&lt;/span&gt; install &lt;span class=&quot;caps&quot;&gt;DVD&lt;/span&gt;/CD, or downloaded from &lt;a href=&quot;http://developer.apple.com&quot;&gt;Apple&amp;#8217;s Developer Connection&lt;/a&gt; free of charge.&lt;/p&gt;


	&lt;h3&gt;A Quick Warning&lt;/h3&gt;


	&lt;p&gt;While it&amp;#8217;s unlikely anything we do here might do any kind of damage to the system, it&amp;#8217;s good advice to have a current backup of everything, just in case. I don&amp;#8217;t take any responsibility for anything that results from following these instructions (good or bad). You&amp;#8217;re following these instructions at our own risk.&lt;/p&gt;


	&lt;h3&gt;A Note about &lt;code&gt;sudo&lt;/code&gt;&lt;/h3&gt;


	&lt;p&gt;We&amp;#8217;ll be using the command &lt;code&gt;sudo&lt;/code&gt; quite a bit, and lots of people wonder what it does. Put simply, the &lt;code&gt;sudo&lt;/code&gt; command allows a user (in this case, &lt;em&gt;you&lt;/em&gt;) to execute a command as the superuser, allowing you to become the omnipotent master of your computer one command at a time.&lt;/p&gt;


	&lt;p&gt;With great power comes great responsibility, so Mac &lt;span class=&quot;caps&quot;&gt;OS X&lt;/span&gt; may prompt you for your password prior to executing your command. It may do this only once, or several times throughout this process. Just re-enter your password as needed.&lt;/p&gt;


	&lt;h3&gt;Setting Up&lt;/h3&gt;


	&lt;p&gt;Open the Terminal application. It can be found in the &lt;code&gt;/Applications/Utilities&lt;/code&gt; folder.&lt;/p&gt;


	&lt;p&gt;Each of the lines below appearing in monospaced type should be entered into Terminal, and be followed by the Return key. But everybody knew that already.&lt;/p&gt;


	&lt;p&gt;I like to create a folder to contain all of the downloaded files and their respective build folders. I tend to keep this folder around indefinitely. Source code doesn&amp;#8217;t take up much space, and it&amp;#8217;s useful to refer back to later to remind yourself of previous installation details or techniques, installed versions, for a fast install at a later time, or in case you want to &lt;em&gt;uninstall&lt;/em&gt; something.&lt;/p&gt;


	&lt;p&gt;For these examples, we&amp;#8217;ll create a folder called &lt;code&gt;src&lt;/code&gt; in the &lt;code&gt;/usr/local&lt;/code&gt; section of the filesystem, and change directories into that folder. It will be our workspace for everything we do here:&lt;/p&gt;


&lt;pre&gt;
sudo mkdir -p /usr/local/src
sudo chgrp admin /usr/local/src
sudo chmod -R 775 /usr/local/src
cd /usr/local/src
&lt;/pre&gt;

	&lt;p&gt;You&amp;#8217;ll download and compile everything in this new folder.&lt;/p&gt;


	&lt;h3&gt;Paths&lt;/h3&gt;


	&lt;p&gt;&lt;strong&gt;&lt;em&gt;Do not skip this step! Most everything else will fail if you do.&lt;/em&gt;&lt;/strong&gt;&lt;/p&gt;


	&lt;p&gt;Mac &lt;span class=&quot;caps&quot;&gt;OS X&lt;/span&gt;, like other &lt;span class=&quot;caps&quot;&gt;UNIX&lt;/span&gt; systems, uses something called a &lt;em&gt;path&lt;/em&gt; to determine where it should look for applications on the command line (that is, when you&amp;#8217;re using the Terminal app). The path is actually an environment variable, set by a special file that&amp;#8217;s automatically executed when you open a new Terminal window.&lt;/p&gt;


	&lt;p&gt;We need to make sure that our path is set to look for files in &lt;code&gt;/usr/local&lt;/code&gt; (the place where we&amp;#8217;ll be installing the tools) before looking anywhere else. This is important.&lt;/p&gt;


	&lt;p&gt;To see if the path has been set properly, we can check the contents of the &lt;code&gt;.bash_login&lt;/code&gt; file (the special file hidden in our home folder) for a &lt;code&gt;PATH&lt;/code&gt; line using a text editor.  &lt;a href=&quot;http://macromates.com/&quot;&gt;TextMate&lt;/a&gt;, &lt;a href=&quot;http://www.barebones.com/products/textwrangler/index.shtml&quot;&gt;TextWrangler&lt;/a&gt;, &lt;a href=&quot;http://www.barebones.com/products/bbedit/index.shtml&quot;&gt;BBEdit&lt;/a&gt;, and &lt;a href=&quot;http://en.wikipedia.org/wiki/Vi&quot;&gt;vi&lt;/a&gt; are all perfectly good options. To open the file with TextMate, for example, we can type:&lt;/p&gt;


&lt;pre&gt;
mate ~/.bash_login
&lt;/pre&gt;

	&lt;p&gt;This will open the file if it already exists, or open a blank file if it doesn&amp;#8217;t.  Add the following line &lt;strong&gt;at the very end of the file&lt;/strong&gt;:&lt;/p&gt;


&lt;pre&gt;
export PATH=&quot;/usr/local/bin:/usr/local/sbin:/usr/local/mysql/bin:$PATH&quot; 
&lt;/pre&gt;

	&lt;p&gt;Now save and close the file.&lt;/p&gt;


	&lt;p&gt;It doesn&amp;#8217;t matter how many other lines there are in the file, or what they say or do. Just make sure that this line comes &lt;em&gt;last&lt;/em&gt; and you should be fine.&lt;/p&gt;


	&lt;p&gt;To make sure the changes are picked up correctly, we now need to execute the file with the following command:&lt;/p&gt;


&lt;pre&gt;
. ~/.bash_login
&lt;/pre&gt;

	&lt;p&gt;It&amp;#8217;s likely there will be no response from the shell here, just the prompt, but that&amp;#8217;s OK, the changes have been picked up and we&amp;#8217;re ready to move on.&lt;/p&gt;


	&lt;p&gt;You can also close your Terminal and open a new one instead if you&amp;#8217;d like.&lt;/p&gt;


	&lt;p&gt;&lt;strong&gt;Geek Note:&lt;/strong&gt; You may have noticed that I&amp;#8217;ve added MySQL to the path in the line above. That&amp;#8217;s because most users will be installing MySQL later in this tutorial. If you&amp;#8217;re the type to want to use something like SQLite or PostGreSQL as your database instead of MySQL, you can feel free to omit the &lt;code&gt;/usr/local/mysql/bin:&lt;/code&gt; bit from the line above, and replace it with the path to the database of your choice. If this note doesn&amp;#8217;t make sense to you, even if you &lt;em&gt;don&amp;#8217;t&lt;/em&gt; plan to install MySQL later, just keep on going &amp;#8230; the extra bit in the path statement won&amp;#8217;t affect you at all.&lt;/p&gt;


	&lt;h3&gt;Ruby&lt;/h3&gt;


	&lt;p&gt;Now we&amp;#8217;re ready to start the real work.  Just type (or cut-n-paste) each one of the following lines into Terminal, one by one. When one line finishes (some will take a while and dump a lot of information to the screen), enter the next one.&lt;/p&gt;


	&lt;p&gt;As mentioned above, the first time you run the &lt;code&gt;sudo&lt;/code&gt; command (and possible again later), you may be prompted for a password. Just enter your regular password here, and the process will continue.&lt;/p&gt;


	&lt;p&gt;We&amp;#8217;ll start off with Ruby, but before we can compile Ruby itself, we&amp;#8217;ll build a supportive application called &lt;code&gt;readline&lt;/code&gt;. The commands below handle downloading, unzipping, configuring, compiling, and finally installing the code. This &amp;#8220;pattern&amp;#8221; will become more familiar as you move through the install step by step.&lt;/p&gt;


&lt;pre&gt;
curl -O ftp://ftp.gnu.org/gnu/readline/readline-5.1.tar.gz
tar xzvf readline-5.1.tar.gz
cd readline-5.1
./configure --prefix=/usr/local
make
sudo make install
cd ..
&lt;/pre&gt;

	&lt;p&gt;If you get an error like the one below after typing the &lt;code&gt;configure&lt;/code&gt; command:&lt;/p&gt;


&lt;pre&gt;
checking whether make sets $(MAKE)... no
checking for gcc... no
checking for cc... no
checking for cc... no
checking for cl... no
configure: error: no acceptable C compiler found in $PATH
&lt;/pre&gt;

	&lt;p&gt;This means that you &lt;strong&gt;did not follow the instructions&lt;/strong&gt; and don&amp;#8217;t have Xcode installed.&lt;/p&gt;


	&lt;p&gt;If you saw lots of text fly by but didn&amp;#8217;t get that error, it means that everything went well, and we can move on to building and installing Ruby itself.&lt;/p&gt;


&lt;pre&gt;
curl -O ftp://ftp.ruby-lang.org/pub/ruby/ruby-1.8.5-p12.tar.gz
tar xzvf ruby-1.8.5-p12.tar.gz
cd ruby-1.8.5-p12
./configure --prefix=/usr/local --enable-pthread --with-readline-dir=/usr/local
make
sudo make install
sudo make install-doc
cd ..
&lt;/pre&gt;

	&lt;p&gt;If you saw lots of text fly by but didn&amp;#8217;t get that error, it means that we should now have a brand new Ruby installed.&lt;/p&gt;


	&lt;p&gt;We can verify this (as well as a correct path setting) by typing the following command:&lt;/p&gt;


&lt;pre&gt;
ruby -v
&lt;/pre&gt;

	&lt;p&gt;You should see something like this:&lt;/p&gt;


&lt;pre&gt;
ruby 1.8.5 (2006-12-04 patchlevel 2) [blah]
&lt;/pre&gt;

	&lt;p&gt;Don&amp;#8217;t worry about the text in the brackets, it provides details about your system architecture and isn&amp;#8217;t important here. What &lt;em&gt;is&lt;/em&gt; important is that you see &lt;code&gt;ruby 1.8.5&lt;/code&gt;. This means you&amp;#8217;ve got the new version of Ruby installed and in your path, and you&amp;#8217;re good to go.&lt;/p&gt;


	&lt;p&gt;If you see something like this:&lt;/p&gt;


&lt;pre&gt;
ruby 1.8.2 (2004-12-25)
&lt;/pre&gt;

	&lt;p&gt;Then either your install failed, or you didn&amp;#8217;t correctly set your path in Terminal. Go back and check your work.&lt;/p&gt;


	&lt;h3&gt;RubyGems&lt;/h3&gt;


	&lt;p&gt;RubyGems is a handy command-line tool for managing the installation of Ruby packages, like Rails and Mongrel.&lt;/p&gt;


&lt;pre&gt;
curl -O http://rubyforge.rubyuser.de/rubygems/rubygems-0.9.0.tgz
tar xzvf rubygems-0.9.0.tgz
cd rubygems-0.9.0
sudo /usr/local/bin/ruby setup.rb
cd ..
&lt;/pre&gt;

	&lt;h3&gt;Ruby on Rails&lt;/h3&gt;


	&lt;p&gt;With RubyGems installed, Rails is a simple, one-line install:&lt;/p&gt;


&lt;pre&gt;
sudo gem install rails --include-dependencies
&lt;/pre&gt;

	&lt;p&gt;If you see an error message like this:&lt;/p&gt;


&lt;pre&gt;
/usr/local/bin/gem:3:in `require&#039;: No such file to load -- rubygems (LoadError)
from /usr/local/bin/gem:3
&lt;/pre&gt;

	&lt;p&gt;It means you didn&amp;#8217;t set your path as instructed in the very first step. Go back to the beginning and run that step again, then retry this step.&lt;/p&gt;


	&lt;h3&gt;Mongrel&lt;/h3&gt;


	&lt;p&gt;Mongrel is a fast, stand-alone &lt;span class=&quot;caps&quot;&gt;HTTP&lt;/span&gt; library and server for Ruby. It allows you to run your Rails applications without having to compile or use other applications (like FastCGI, &lt;span class=&quot;caps&quot;&gt;SCGI&lt;/span&gt;, LightTPD, or Apache).&lt;/p&gt;


	&lt;p&gt;Even better, Mongrel is also a gem. Type this command:&lt;/p&gt;


&lt;pre&gt;
sudo gem install mongrel --include-dependencies
&lt;/pre&gt;

	&lt;p&gt;You&amp;#8217;ll be prompted to select the appropriate gem for your platform, and you&amp;#8217;ll be shown a list something like this one:&lt;/p&gt;


&lt;pre&gt;
Select which gem to install for your platform
 1. mongrel 1.0.1 (ruby)
 2. mongrel 1.0.1 (mswin32)
 3. mongrel 1.0 (mswin32)
 4. mongrel 1.0 (ruby)
 5. Skip this gem
 6. Cancel installation
&lt;/pre&gt;

	&lt;p&gt;Although version numbers may be different, you should always select the one closest to the top of the list that ends with &amp;#8220;(ruby)&amp;#8221; ... this is usually the first option. Just type the number and press enter.&lt;/p&gt;


	&lt;h3&gt;Subversion (Optional)&lt;/h3&gt;


	&lt;p&gt;Subversion is an open-source version control system. It remembers every change ever made to the files and directories in your projects. This allows you to recover older versions of your data, or examine the history of how your data changed. You can read more about Subversion (svn) in the online &lt;a href=&quot;http://svnbook.red-bean.com&quot;&gt;Subversion book&lt;/a&gt;.&lt;/p&gt;


	&lt;p&gt;While it&amp;#8217;s not mandatory to have svn running in order to use Rails, it&amp;#8217;s highly recommended. It&amp;#8217;s used by the Rails team for distribution management, by most web hosts for deployment (via Capistrano), and by most Rails developers to manage their code.  The install process is pretty typical:&lt;/p&gt;


&lt;pre&gt;
curl -O http://subversion.tigris.org/downloads/subversion-1.3.2.tar.gz
tar xzvf subversion-1.3.2.tar.gz
cd subversion-1.3.2
./configure --prefix=/usr/local --with-openssl --with-ssl --with-zlib
make
sudo make install
cd ..
&lt;/pre&gt;

	&lt;p&gt;&lt;strong&gt;Geek Note:&lt;/strong&gt; Some people have asked why I&amp;#8217;m still using version 1.3.2 instead of the newer 1.4.x branch. Although 1.4 introduces a number of great features, there are some issues when using the newer client with an older (1.3.x) repository. These instructions &lt;em&gt;will not work&lt;/em&gt; with the 1.4.x Subversion code branch, sorry.&lt;/p&gt;


	&lt;h3&gt;Capistrano&lt;/h3&gt;


	&lt;p&gt;Capistrano is a utility which may be used to automate the deployment of your Rails applications. Many Rails applications and webhosts require it, and while this is technically an optional step, it&amp;#8217;s simple, fast, and highly recommended. You can get the latest version of this gem like this:&lt;/p&gt;


&lt;pre&gt;
sudo gem install capistrano --include-dependencies
&lt;/pre&gt;

	&lt;p&gt;I also recommend installing &lt;a href=&quot;http://raa.ruby-lang.org/project/ruby-termios/&quot;&gt;termios&lt;/a&gt;, a gem that&amp;#8217;s a wrapper for the &lt;span class=&quot;caps&quot;&gt;UNIX&lt;/span&gt; &lt;code&gt;termios&lt;/code&gt; command, which will prevent passwords you enter in Capistrano from being displayed in your Terminal for all to see.&lt;/p&gt;


&lt;pre&gt;
sudo gem install termios --include-dependencies
&lt;/pre&gt;

	&lt;p&gt;Technically, you could stop right here. But most Rails applications need a database  ...&lt;/p&gt;


	&lt;h3&gt;MySQL&lt;/h3&gt;


	&lt;p&gt;While it&amp;#8217;s possible to compile and install MySQL ourselves, using the Mac &lt;span class=&quot;caps&quot;&gt;OS X&lt;/span&gt; MySQL package is actually advantageous.  Not only is the package-installer much faster and easier, but it includes a handy startup item and a preference panel, and the binary is tuned by the MySQL team for Mac &lt;span class=&quot;caps&quot;&gt;OS X&lt;/span&gt;.&lt;/p&gt;


	&lt;p&gt;Even better, the package installs MySQL right into the &lt;code&gt;/usr/local/&lt;/code&gt; folder, just like it should!&lt;/p&gt;


	&lt;p&gt;The install still requires a few steps:&lt;/p&gt;


	&lt;ol&gt;
	&lt;li&gt;Download the &lt;a href=&quot;http://mysql.he.net/Downloads/MySQL-5.0/mysql-standard-5.0.27-osx10.4-powerpc.dmg&quot;&gt;MySQL 5.0 package for &lt;span class=&quot;caps&quot;&gt;OS X PPC&lt;/span&gt;&lt;/a&gt; or the &lt;a href=&quot;http://mysql.he.net/Downloads/MySQL-5.0/mysql-standard-5.0.27-osx10.4-i686.dmg&quot;&gt;MySQL 5.0 package for &lt;span class=&quot;caps&quot;&gt;OS X&lt;/span&gt; Intel&lt;/a&gt;&lt;/li&gt;
		&lt;li&gt;Double-click the drive image to mount it&lt;/li&gt;
		&lt;li&gt;Locate the MySQL installer (a file named something like &lt;code&gt;mysql-standard-5.0.27-osx10.4-i686.pkg&lt;/code&gt;) and run it, authenticating as needed&lt;/li&gt;
		&lt;li&gt;Double-click &lt;code&gt;MySQLStartupItem.pkg&lt;/code&gt;, authenticate, and let it install&lt;/li&gt;
		&lt;li&gt;Double-click &lt;code&gt;MySQL.prefPane&lt;/code&gt; and install it, deciding whether to make it available to just the current user, or for all system users&lt;/li&gt;
	&lt;/ol&gt;


	&lt;p&gt;Once the install is complete, start the MySQL server using the newly-installed control panel.&lt;/p&gt;


	&lt;p&gt;&lt;strong&gt;Note:&lt;/strong&gt; MySQL installs with a default user of &lt;code&gt;root&lt;/code&gt; using no password. If you care about the privacy of your data or computer, please read this page about &lt;a href=&quot;http://dev.mysql.com/doc/refman/4.1/en/user-names.html&quot;&gt;MySQL usernames and passwords&lt;/a&gt; and set a good one.&lt;/p&gt;


	&lt;h3&gt;MySQL Native Bindings Gem (Optional)&lt;/h3&gt;


	&lt;p&gt;This step is an optional one, but the &lt;a href=&quot;http://weblog.rubyonrails.com/2005/10/30/get-10-15-more-performance-with-mysql-rails&quot;&gt;performance gains&lt;/a&gt; seem to make it worth the extra step.&lt;/p&gt;


	&lt;p&gt;At the present time, there&amp;#8217;s a problem getting this gem to compile with MySQL 5.x. Fortunately, there&amp;#8217;s a way to fix it ourselves, using a patch file (originally created by &lt;a href=&quot;http://juretta.com&quot;&gt;juretta.com&lt;/a&gt; and reproduced here). Hopefully this issue will be fixed soon, but until then, we&amp;#8217;ve got a workaround.&lt;/p&gt;


	&lt;p&gt;The command below &lt;strong&gt;will fail&lt;/strong&gt;. This is OK, and you still need to execute it. Just follow along for now.&lt;/p&gt;


&lt;pre&gt;
sudo gem install mysql -- --with-mysql-dir=/usr/local/mysql
&lt;/pre&gt;

	&lt;p&gt;Just like the Mongrel install, you might see a prompt asking you which gem to install:&lt;/p&gt;


&lt;pre&gt;
Select which gem to install for your platform
1. mysql 2.7.3 (mswin32)
2. mysql 2.7.1 (mswin32)
3. mysql 2.7 (ruby)
4. mysql 2.6 (ruby)
5. Skip this gem
6. Cancel installation
&lt;/pre&gt;

	&lt;p&gt;Again, just like the Mongrel install, we&amp;#8217;ll want to pick the option closest to the top that ends in &amp;#8220;(ruby)&amp;#8221;. In the example above, we&amp;#8217;d want to select option 3.&lt;/p&gt;


	&lt;p&gt;You should then see an error like this one:&lt;/p&gt;


&lt;pre&gt;
mysql.c: In function &#039;Init_mysql&#039;:
mysql.c:2015: error: &#039;ulong&#039; undeclared (first use in this function)
mysql.c:2015: error: (Each undeclared identifier is reported only once
mysql.c:2015: error: for each function it appears in.)
mysql.c:2015: error: parse error before numeric constant
mysql.c:2018: error: parse error before numeric constant
make: *** [mysql.o] Error 1
&lt;/pre&gt;

	&lt;p&gt;Although the build didn&amp;#8217;t finish, RubyGems did download the source code, depositing it deep within the bowels of our filesystem &amp;#8230; and now we can apply the patch:&lt;/p&gt;


&lt;pre&gt;
mkdir -p /usr/local/src/mac-mysql-gem
cd /usr/local/src/mac-mysql-gem
curl -O http://hivelogic.com/downloads/mac-mysql-gem.patch
cd /usr/local/lib/ruby/gems/1.8/gems/mysql-2.7
sudo ruby extconf.rb install mysql -- --with-mysql-dir=/usr/local/mysql
sudo cp mysql.c mysql.c.dist
sudo patch mysql.c /usr/local/src/mac-mysql-gem/mac-mysql-gem.patch
sudo make
sudo make install
cd /usr/local/src
&lt;/pre&gt;

	&lt;h3&gt;We&amp;#8217;re Done&lt;/h3&gt;


	&lt;p&gt;Congratulations, you now have a custom-built, properly located installation of Ruby, Ruby on Rails, MySQL, Mongrel, and Capistrano!&lt;/p&gt;


	&lt;p&gt;If you&amp;#8217;re new to Rails and just want to create a sample app to see this all working, try this:&lt;/p&gt;


&lt;pre&gt;
rails testapp
cd testapp
script/server
&lt;/pre&gt;

	&lt;p&gt;This will create a basic Rails app in a folder called &lt;code&gt;testapp&lt;/code&gt; in your current folder (probably &lt;code&gt;/usr/local/src&lt;/code&gt; if you&amp;#8217;re doing this where the last step left off).&lt;/p&gt;


	&lt;p&gt;If all goes well, you&amp;#8217;ll get some output that looks like this:&lt;/p&gt;


&lt;pre&gt;
=&amp;gt; Booting Mongrel (use &#039;script/server webrick&#039; to force WEBrick)
=&amp;gt; Rails application starting on http://0.0.0.0:3000
=&amp;gt; Call with -d to detach
=&amp;gt; Ctrl-C to shutdown server
** Starting Mongrel listening at 0.0.0.0:3000
** Starting Rails with development environment...
** Rails loaded.
** Loading any Rails specific GemPlugins
** Signals ready.  TERM =&amp;gt; stop.  USR2 =&amp;gt; restart.  INT =&amp;gt; stop (no restart).
** Rails signals registered.  HUP =&amp;gt; reload (without restart).  It might not work well.
** Mongrel available at 0.0.0.0:3000
** Use CTRL-C to stop.
&lt;/pre&gt;

	&lt;p&gt;You can now check out your new app by clicking or pasting this link in your browser of choice: &lt;a href=&quot;http://localhost:3000&quot;&gt;http://localhost:3000&lt;/a&gt;&lt;/p&gt;


	&lt;h3&gt;What Else?&lt;/h3&gt;


	&lt;p&gt;To do any real work with your new app, you&amp;#8217;ll want to create a database for it. The Rails convention is that the database will take the same name as the name you specified when the app was created (in this case, &amp;#8220;testapp&amp;#8221;).&lt;/p&gt;


	&lt;p&gt;You&amp;#8217;ll need to first start up MySQL, and then create a database. While you can start MySQL using the control panel you installed earlier, it can also be started using the command line:&lt;/p&gt;


&lt;pre&gt;
sudo /Library/StartupItems/MySQLCOM/MySQLCOM start
&lt;/pre&gt;

	&lt;p&gt;You won&amp;#8217;t have to run this command again, because the startup item you installed for MySQL will make sure it&amp;#8217;s running the next time you boot your Mac. With MySQL running, you can create a new database for the test application:&lt;/p&gt;


&lt;pre&gt;
mysqladmin -uroot create testapp_development
&lt;/pre&gt;

	&lt;p&gt;If you created a password for MySQL, you&amp;#8217;ll need to add the &lt;code&gt;-p&lt;/code&gt; option to the command above and you&amp;#8217;ll be prompted for your password.&lt;/p&gt;


	&lt;p&gt;The rest is up to you. Good luck, and have fun with Rails!&lt;/p&gt;


&lt;hr/&gt;
&lt;strong&gt;The Hivelogic Radio Show&lt;/strong&gt; &amp;#8211; Dan Benjamin&amp;#8217;s &lt;a href=&quot;http://hivelogic.com/podcast&quot;&gt;new podcast is here&lt;/a&gt;.</description>
            
            <pubDate>Fri, 09 Feb 2007 14:36:54 -0800</pubDate>
        </item>
            
        <item>
            <title>Updates to the Rails OS X Build Instructions</title>
            <link>http://swik.net/MySQL/Planet+MySQL/Updates+to+the+Rails+OS+X+Build+Instructions/w5jr</link>
            <description>&lt;p&gt;I&amp;#8217;ve updated and tweaked the &lt;a href=&quot;http://hivelogic.com/narrative/articles/ruby-rails-mongrel-mysql-osx&quot;&gt;Building Ruby on Rails on &lt;span class=&quot;caps&quot;&gt;OS X&lt;/span&gt; tutorial&lt;/a&gt; to include instructions for installing Subversion (good idea, &lt;a href=&quot;http://duncandavidson.com&quot;&gt;Duncan&lt;/a&gt;).&lt;/p&gt;


	&lt;p&gt;I&amp;#8217;ve also modified them to use a more tried-and-true version of RubyGems, and I re-invited Readline to the party. Seems like some people really missed him.&lt;/p&gt;


	&lt;p&gt;If you had issues getting everything to work perfectly, and especially if you saw an error like this:&lt;/p&gt;


&lt;pre&gt;
dyld: NSLinkModule() error
dyld: Symbol not found: _rl_filename_completion_function
  Referenced from: /usr/local/lib/ruby/1.8/i686-darwin8.8.4/readline.bundle
  Expected in: flat namespace
&lt;/pre&gt;

	&lt;p&gt;Please run through the steps once more.&lt;/p&gt;


	&lt;p&gt;It&amp;#8217;s weird and worth mentioning, however, that I cannot reproduce this error on Intel or PowerPC, even on a fresh install of Mac &lt;span class=&quot;caps&quot;&gt;OS X&lt;/span&gt;.&lt;/p&gt;


&lt;hr/&gt;
&lt;strong&gt;The Hivelogic Radio Show&lt;/strong&gt; &amp;#8211; Dan Benjamin&amp;#8217;s &lt;a href=&quot;http://hivelogic.com/podcast&quot;&gt;new podcast is here&lt;/a&gt;.</description>
            
            <pubDate>Fri, 09 Feb 2007 14:36:54 -0800</pubDate>
        </item>
            
        <item>
            <title>Building Ruby, Rails, Subversion, Mongrel, and MySQL on Mac OS X</title>
            <link>http://swik.net/MySQL/Planet+MySQL/Building+Ruby%2C+Rails%2C+Subversion%2C+Mongrel%2C+and+MySQL+on+Mac+OS+X/wevs</link>
            <description>&lt;p&gt;This article is a major update to the older (but tried-and-true) post, &lt;a href=&quot;/narrative/articles/ruby_rails_lighttpd_mysql_tiger&quot;&gt;Building Ruby, Rails, LightTPD, and MySQL on Tiger&lt;/a&gt;. Both Ruby, Rails, and their underlying infrastructure have come a long way in recent months, and this article will get you to a leaner, meaner Rails install in less time using fewer steps.&lt;/p&gt;


	&lt;p&gt;This article is updated on a regular basis as new versions of the software are released.&lt;/p&gt;


	&lt;p&gt;What follows are instructions for building and installing the following applications on Mac &lt;span class=&quot;caps&quot;&gt;OS X 10&lt;/span&gt;.4 (Tiger) along with their supportive software. I&amp;#8217;ve been told that these steps work just fine on Mac &lt;span class=&quot;caps&quot;&gt;OS X 10&lt;/span&gt;.3 (Panther) as well, but I haven&amp;#8217;t verified this myself, and your mileage may vary.&lt;/p&gt;


	&lt;ul&gt;
	&lt;li&gt;&lt;a href=&quot;http://www.ruby-lang.org/&quot;&gt;Ruby 1.8.5&lt;/a&gt;&lt;/li&gt;
		&lt;li&gt;&lt;a href=&quot;http://rubyonrails.com/&quot;&gt;Ruby on Rails 1.2&lt;/a&gt;&lt;/li&gt;
		&lt;li&gt;&lt;a href=&quot;http://mongrel.rubyforge.org/&quot;&gt;Mongrel&lt;/a&gt;&lt;/li&gt;
		&lt;li&gt;&lt;a href=&quot;http://subversion.tigris.org/&quot;&gt;Subversion 1.3.2&lt;/a&gt;&lt;/li&gt;
		&lt;li&gt;&lt;a href=&quot;http://mysql.org/&quot;&gt;MySQL 5&lt;/a&gt;&lt;/li&gt;
	&lt;/ul&gt;


	&lt;p&gt;Compiling and installing these tools this way is well worth the effort, as the end result delivers an easy-to-upgrade, system-independent, stand-alone development platform that is impervious to potential problems that can be caused by system updates, operating system upgrades, etc.&lt;/p&gt;


	&lt;p&gt;By rolling our own from source this way, we also have full control over our environment. We know what&amp;#8217;s installed and where, what version we&amp;#8217;ve used, where it came from, and there&amp;#8217;s no dependence on an external ports system and the breakage or issues that come from relying on others to manage our software.&lt;/p&gt;


	&lt;p&gt;These issues and additional background information about &lt;em&gt;why&lt;/em&gt; one might roll their own tools in this fashion are detailed in the article, &lt;a href=&quot;/narrative/articles/using_usr_local&quot;&gt;Using /usr/local/&lt;/a&gt;, which could be considered a prerequisite for this task.&lt;/p&gt;


	&lt;h3&gt;About (Not) Removing Old Versions&lt;/h3&gt;


	&lt;p&gt;One of the great things about building these particular apps from source like this is that we don&amp;#8217;t need to worry about removing older versions. When we build the new ones, they will replace the older versions as needed, and your system will be up to date with just the latest, greatest software.&lt;/p&gt;


	&lt;h3&gt;The Concept&lt;/h3&gt;


	&lt;p&gt;Basically, what we&amp;#8217;re going to do here is download a bunch of open-source tools (some of which rely upon each other to work), configure them, compile them, and install them, one by one, until we have everything we need for a Mac &lt;span class=&quot;caps&quot;&gt;OS X&lt;/span&gt; machine to run Ruby on Rails.&lt;/p&gt;


	&lt;h3&gt;What&amp;#8217;s Needed&lt;/h3&gt;


	&lt;p&gt;A few things are needed to get this going:&lt;/p&gt;


	&lt;ol&gt;
	&lt;li&gt;Mac &lt;span class=&quot;caps&quot;&gt;OS X 10&lt;/span&gt;.4 (and maybe 10.3)&lt;/li&gt;
		&lt;li&gt;Xcode 2.4 or newer (this compiles the apps for us)&lt;/li&gt;
		&lt;li&gt;Willingness to type commands into the Terminal application exactly as they appear here (cut-n-paste works too)&lt;/li&gt;
		&lt;li&gt;A tasty beverage to enjoy while things compile&lt;/li&gt;
	&lt;/ol&gt;


	&lt;p&gt;&lt;strong&gt;Note:&lt;/strong&gt; Xcode is not installed by default on new Macs, but can be found on the Mac &lt;span class=&quot;caps&quot;&gt;OS X&lt;/span&gt; install &lt;span class=&quot;caps&quot;&gt;DVD&lt;/span&gt;/CD, or downloaded from &lt;a href=&quot;http://developer.apple.com&quot;&gt;Apple&amp;#8217;s Developer Connection&lt;/a&gt; free of charge.&lt;/p&gt;


	&lt;h3&gt;A Quick Warning&lt;/h3&gt;


	&lt;p&gt;While it&amp;#8217;s unlikely anything we do here might do any kind of damage to the system, it&amp;#8217;s good advice to have a current backup of everything, just in case. I don&amp;#8217;t take any responsibility for anything that results from following these instructions (good or bad). You&amp;#8217;re following these instructions at our own risk.&lt;/p&gt;


	&lt;h3&gt;A Note about &lt;code&gt;sudo&lt;/code&gt;&lt;/h3&gt;


	&lt;p&gt;We&amp;#8217;ll be using the command &lt;code&gt;sudo&lt;/code&gt; quite a bit, and lots of people wonder what it does. Put simply, the &lt;code&gt;sudo&lt;/code&gt; command allows a user (in this case, &lt;em&gt;you&lt;/em&gt;) to execute a command as the superuser, allowing you to become the omnipotent master of your computer one command at a time.&lt;/p&gt;


	&lt;p&gt;With great power comes great responsibility, so Mac &lt;span class=&quot;caps&quot;&gt;OS X&lt;/span&gt; may prompt you for your password prior to executing your command. It may do this only once, or several times throughout this process. Just re-enter your password as needed.&lt;/p&gt;


	&lt;h3&gt;Setting Up&lt;/h3&gt;


	&lt;p&gt;Open the Terminal application. It can be found in the &lt;code&gt;/Applications/Utilities&lt;/code&gt; folder.&lt;/p&gt;


	&lt;p&gt;Each of the lines below appearing in monospaced type should be entered into Terminal, and be followed by the Return key. But everybody knew that already.&lt;/p&gt;


	&lt;p&gt;I like to create a folder to contain all of the downloaded files and their respective build folders. I tend to keep this folder around indefinitely. Source code doesn&amp;#8217;t take up much space, and it&amp;#8217;s useful to refer back to later to remind yourself of previous installation details or techniques, installed versions, for a fast install at a later time, or in case you want to &lt;em&gt;uninstall&lt;/em&gt; something.&lt;/p&gt;


	&lt;p&gt;For these examples, we&amp;#8217;ll create a folder called &lt;code&gt;src&lt;/code&gt; in the &lt;code&gt;/usr/local&lt;/code&gt; section of the filesystem, and change directories into that folder. It will be our workspace for everything we do here:&lt;/p&gt;


&lt;pre&gt;
sudo mkdir -p /usr/local/src
sudo chgrp admin /usr/local/src
sudo chmod -R 775 /usr/local/src
cd /usr/local/src
&lt;/pre&gt;

	&lt;p&gt;You&amp;#8217;ll download and compile everything in this new folder.&lt;/p&gt;


	&lt;h3&gt;Paths&lt;/h3&gt;


	&lt;p&gt;&lt;strong&gt;&lt;em&gt;Do not skip this step! Most everything else will fail if you do.&lt;/em&gt;&lt;/strong&gt;&lt;/p&gt;


	&lt;p&gt;Mac &lt;span class=&quot;caps&quot;&gt;OS X&lt;/span&gt;, like other &lt;span class=&quot;caps&quot;&gt;UNIX&lt;/span&gt; systems, uses something called a &lt;em&gt;path&lt;/em&gt; to determine where it should look for applications on the command line (that is, when you&amp;#8217;re using the Terminal app). The path is actually an environment variable, set by a special file that&amp;#8217;s automatically executed when you open a new Terminal window.&lt;/p&gt;


	&lt;p&gt;We need to make sure that our path is set to look for files in &lt;code&gt;/usr/local&lt;/code&gt; (the place where we&amp;#8217;ll be installing the tools) before looking anywhere else. This is important.&lt;/p&gt;


	&lt;p&gt;To see if the path has been set properly, we can check the contents of the &lt;code&gt;.bash_login&lt;/code&gt; file (the special file hidden in our home folder) for a &lt;code&gt;PATH&lt;/code&gt; line using a text editor.  &lt;a href=&quot;http://macromates.com/&quot;&gt;TextMate&lt;/a&gt;, &lt;a href=&quot;http://www.barebones.com/products/textwrangler/index.shtml&quot;&gt;TextWrangler&lt;/a&gt;, &lt;a href=&quot;http://www.barebones.com/products/bbedit/index.shtml&quot;&gt;BBEdit&lt;/a&gt;, and &lt;a href=&quot;http://en.wikipedia.org/wiki/Vi&quot;&gt;vi&lt;/a&gt; are all perfectly good options. To open the file with TextMate, for example, we can type:&lt;/p&gt;


&lt;pre&gt;
mate ~/.bash_login
&lt;/pre&gt;

	&lt;p&gt;This will open the file if it already exists, or open a blank file if it doesn&amp;#8217;t.  Add the following line &lt;strong&gt;at the very end of the file&lt;/strong&gt;:&lt;/p&gt;


&lt;pre&gt;
export PATH=&quot;/usr/local/bin:/usr/local/sbin:/usr/local/mysql/bin:$PATH&quot; 
&lt;/pre&gt;

	&lt;p&gt;Now save and close the file.&lt;/p&gt;


	&lt;p&gt;It doesn&amp;#8217;t matter how many other lines there are in the file, or what they say or do. Just make sure that this line comes &lt;em&gt;last&lt;/em&gt; and you should be fine.&lt;/p&gt;


	&lt;p&gt;To make sure the changes are picked up correctly, we now need to execute the file with the following command:&lt;/p&gt;


&lt;pre&gt;
. ~/.bash_login
&lt;/pre&gt;

	&lt;p&gt;It&amp;#8217;s likely there will be no response from the shell here, just the prompt, but that&amp;#8217;s OK, the changes have been picked up and we&amp;#8217;re ready to move on.&lt;/p&gt;


	&lt;p&gt;You can also close your Terminal and open a new one instead if you&amp;#8217;d like.&lt;/p&gt;


	&lt;p&gt;&lt;strong&gt;Geek Note:&lt;/strong&gt; You may have noticed that I&amp;#8217;ve added MySQL to the path in the line above. That&amp;#8217;s because most users will be installing MySQL later in this tutorial. If you&amp;#8217;re the type to want to use something like SQLite or PostGreSQL as your database instead of MySQL, you can feel free to omit the &lt;code&gt;/usr/local/mysql/bin:&lt;/code&gt; bit from the line above, and replace it with the path to the database of your choice. If this note doesn&amp;#8217;t make sense to you, even if you &lt;em&gt;don&amp;#8217;t&lt;/em&gt; plan to install MySQL later, just keep on going &amp;#8230; the extra bit in the path statement won&amp;#8217;t affect you at all.&lt;/p&gt;


	&lt;h3&gt;Ruby&lt;/h3&gt;


	&lt;p&gt;Now we&amp;#8217;re ready to start the real work.  Just type (or cut-n-paste) each one of the following lines into Terminal, one by one. When one line finishes (some will take a while and dump a lot of information to the screen), enter the next one.&lt;/p&gt;


	&lt;p&gt;As mentioned above, the first time you run the &lt;code&gt;sudo&lt;/code&gt; command (and possible again later), you may be prompted for a password. Just enter your regular password here, and the process will continue.&lt;/p&gt;


	&lt;p&gt;We&amp;#8217;ll start off with Ruby, but before we can compile Ruby itself, we&amp;#8217;ll build a supportive application called &lt;code&gt;readline&lt;/code&gt;. The commands below handle downloading, unzipping, configuring, compiling, and finally installing the code. This &amp;#8220;pattern&amp;#8221; will become more familiar as you move through the install step by step.&lt;/p&gt;


&lt;pre&gt;
curl -O ftp://ftp.gnu.org/gnu/readline/readline-5.1.tar.gz
tar xzvf readline-5.1.tar.gz
cd readline-5.1
./configure --prefix=/usr/local
make
sudo make install
cd ..
&lt;/pre&gt;

	&lt;p&gt;If you get an error like the one below after typing the &lt;code&gt;configure&lt;/code&gt; command:&lt;/p&gt;


&lt;pre&gt;
checking whether make sets $(MAKE)... no
checking for gcc... no
checking for cc... no
checking for cc... no
checking for cl... no
configure: error: no acceptable C compiler found in $PATH
&lt;/pre&gt;

	&lt;p&gt;This means that you &lt;strong&gt;did not follow the instructions&lt;/strong&gt; and don&amp;#8217;t have Xcode installed.&lt;/p&gt;


	&lt;p&gt;If you saw lots of text fly by but didn&amp;#8217;t get that error, it means that everything went well, and we can move on to building and installing Ruby itself.&lt;/p&gt;


&lt;pre&gt;
curl -O ftp://ftp.ruby-lang.org/pub/ruby/ruby-1.8.5-p12.tar.gz
tar xzvf ruby-1.8.5-p12.tar.gz
cd ruby-1.8.5-p12
./configure --prefix=/usr/local --enable-pthread --with-readline-dir=/usr/local
make
sudo make install
sudo make install-doc
cd ..
&lt;/pre&gt;

	&lt;p&gt;If you saw lots of text fly by but didn&amp;#8217;t get that error, it means that we should now have a brand new Ruby installed.&lt;/p&gt;


	&lt;p&gt;We can verify this (as well as a correct path setting) by typing the following command:&lt;/p&gt;


&lt;pre&gt;
ruby -v
&lt;/pre&gt;

	&lt;p&gt;You should see something like this:&lt;/p&gt;


&lt;pre&gt;
ruby 1.8.5 (2006-12-04 patchlevel 2) [blah]
&lt;/pre&gt;

	&lt;p&gt;Don&amp;#8217;t worry about the text in the brackets, it provides details about your system architecture and isn&amp;#8217;t important here. What &lt;em&gt;is&lt;/em&gt; important is that you see &lt;code&gt;ruby 1.8.5&lt;/code&gt;. This means you&amp;#8217;ve got the new version of Ruby installed and in your path, and you&amp;#8217;re good to go.&lt;/p&gt;


	&lt;p&gt;If you see something like this:&lt;/p&gt;


&lt;pre&gt;
ruby 1.8.2 (2004-12-25)
&lt;/pre&gt;

	&lt;p&gt;Then either your install failed, or you didn&amp;#8217;t correctly set your path in Terminal. Go back and check your work.&lt;/p&gt;


	&lt;h3&gt;RubyGems&lt;/h3&gt;


	&lt;p&gt;RubyGems is a handy command-line tool for managing the installation of Ruby packages, like Rails and Mongrel.&lt;/p&gt;


&lt;pre&gt;
curl -O http://rubyforge.rubyuser.de/rubygems/rubygems-0.9.0.tgz
tar xzvf rubygems-0.9.0.tgz
cd rubygems-0.9.0
sudo /usr/local/bin/ruby setup.rb
cd ..
&lt;/pre&gt;

	&lt;h3&gt;Ruby on Rails&lt;/h3&gt;


	&lt;p&gt;With RubyGems installed, Rails is a simple, one-line install:&lt;/p&gt;


&lt;pre&gt;
sudo gem install rails --include-dependencies
&lt;/pre&gt;

	&lt;p&gt;If you see an error message like this:&lt;/p&gt;


&lt;pre&gt;
/usr/local/bin/gem:3:in `require&#039;: No such file to load -- rubygems (LoadError)
from /usr/local/bin/gem:3
&lt;/pre&gt;

	&lt;p&gt;It means you didn&amp;#8217;t set your path as instructed in the very first step. Go back to the beginning and run that step again, then retry this step.&lt;/p&gt;


	&lt;h3&gt;Mongrel&lt;/h3&gt;


	&lt;p&gt;Mongrel is a fast, stand-alone &lt;span class=&quot;caps&quot;&gt;HTTP&lt;/span&gt; library and server for Ruby. It allows you to run your Rails applications without having to compile or use other applications (like FastCGI, &lt;span class=&quot;caps&quot;&gt;SCGI&lt;/span&gt;, LightTPD, or Apache).&lt;/p&gt;


	&lt;p&gt;Even better, Mongrel is also a gem. Type this command:&lt;/p&gt;


&lt;pre&gt;
sudo gem install mongrel --include-dependencies
&lt;/pre&gt;

	&lt;p&gt;You&amp;#8217;ll be prompted to select the appropriate gem for your platform, and you&amp;#8217;ll be shown a list something like this one:&lt;/p&gt;


&lt;pre&gt;
Select which gem to install for your platform
 1. mongrel 1.0.1 (ruby)
 2. mongrel 1.0.1 (mswin32)
 3. mongrel 1.0 (mswin32)
 4. mongrel 1.0 (ruby)
 5. Skip this gem
 6. Cancel installation
&lt;/pre&gt;

	&lt;p&gt;Although version numbers may be different, you should always select the one closest to the top of the list that ends with &amp;#8220;(ruby)&amp;#8221; ... this is usually the first option. Just type the number and press enter.&lt;/p&gt;


	&lt;h3&gt;Subversion (Optional)&lt;/h3&gt;


	&lt;p&gt;Subversion is an open-source version control system. It remembers every change ever made to the files and directories in your projects. This allows you to recover older versions of your data, or examine the history of how your data changed. You can read more about Subversion (svn) in the online &lt;a href=&quot;http://svnbook.red-bean.com&quot;&gt;Subversion book&lt;/a&gt;.&lt;/p&gt;


	&lt;p&gt;While it&amp;#8217;s not mandatory to have svn running in order to use Rails, it&amp;#8217;s highly recommended. It&amp;#8217;s used by the Rails team for distribution management, by most web hosts for deployment (via Capistrano), and by most Rails developers to manage their code.  The install process is pretty typical:&lt;/p&gt;


&lt;pre&gt;
curl -O http://subversion.tigris.org/downloads/subversion-1.3.2.tar.gz
tar xzvf subversion-1.3.2.tar.gz
cd subversion-1.3.2
./configure --prefix=/usr/local --with-openssl --with-ssl --with-zlib
make
sudo make install
cd ..
&lt;/pre&gt;

	&lt;p&gt;&lt;strong&gt;Geek Note:&lt;/strong&gt; Some people have asked why I&amp;#8217;m still using version 1.3.2 instead of the newer 1.4.x branch. Although 1.4 introduces a number of great features, there are some issues when using the newer client with an older (1.3.x) repository. These instructions &lt;em&gt;will not work&lt;/em&gt; with the 1.4.x Subversion code branch, sorry.&lt;/p&gt;


	&lt;h3&gt;Capistrano&lt;/h3&gt;


	&lt;p&gt;Capistrano is a utility which may be used to automate the deployment of your Rails applications. Many Rails applications and webhosts require it, and while this is technically an optional step, it&amp;#8217;s simple, fast, and highly recommended. You can get the latest version of this gem like this:&lt;/p&gt;


&lt;pre&gt;
sudo gem install capistrano --include-dependencies
&lt;/pre&gt;

	&lt;p&gt;I also recommend installing &lt;a href=&quot;http://raa.ruby-lang.org/project/ruby-termios/&quot;&gt;termios&lt;/a&gt;, a gem that&amp;#8217;s a wrapper for the &lt;span class=&quot;caps&quot;&gt;UNIX&lt;/span&gt; &lt;code&gt;termios&lt;/code&gt; command, which will prevent passwords you enter in Capistrano from being displayed in your Terminal for all to see.&lt;/p&gt;


&lt;pre&gt;
sudo gem install termios --include-dependencies
&lt;/pre&gt;

	&lt;p&gt;Technically, you could stop right here. But most Rails applications need a database  ...&lt;/p&gt;


	&lt;h3&gt;MySQL&lt;/h3&gt;


	&lt;p&gt;While it&amp;#8217;s possible to compile and install MySQL ourselves, using the Mac &lt;span class=&quot;caps&quot;&gt;OS X&lt;/span&gt; MySQL package is actually advantageous.  Not only is the package-installer much faster and easier, but it includes a handy startup item and a preference panel, and the binary is tuned by the MySQL team for Mac &lt;span class=&quot;caps&quot;&gt;OS X&lt;/span&gt;.&lt;/p&gt;


	&lt;p&gt;Even better, the package installs MySQL right into the &lt;code&gt;/usr/local/&lt;/code&gt; folder, just like it should!&lt;/p&gt;


	&lt;p&gt;The install still requires a few steps:&lt;/p&gt;


	&lt;ol&gt;
	&lt;li&gt;Download the &lt;a href=&quot;http://mysql.he.net/Downloads/MySQL-5.0/mysql-standard-5.0.27-osx10.4-powerpc.dmg&quot;&gt;MySQL 5.0 package for &lt;span class=&quot;caps&quot;&gt;OS X PPC&lt;/span&gt;&lt;/a&gt; or the &lt;a href=&quot;http://mysql.he.net/Downloads/MySQL-5.0/mysql-standard-5.0.27-osx10.4-i686.dmg&quot;&gt;MySQL 5.0 package for &lt;span class=&quot;caps&quot;&gt;OS X&lt;/span&gt; Intel&lt;/a&gt;&lt;/li&gt;
		&lt;li&gt;Double-click the drive image to mount it&lt;/li&gt;
		&lt;li&gt;Locate the MySQL installer (a file named something like &lt;code&gt;mysql-standard-5.0.27-osx10.4-i686.pkg&lt;/code&gt;) and run it, authenticating as needed&lt;/li&gt;
		&lt;li&gt;Double-click &lt;code&gt;MySQLStartupItem.pkg&lt;/code&gt;, authenticate, and let it install&lt;/li&gt;
		&lt;li&gt;Double-click &lt;code&gt;MySQL.prefPane&lt;/code&gt; and install it, deciding whether to make it available to just the current user, or for all system users&lt;/li&gt;
	&lt;/ol&gt;


	&lt;p&gt;Once the install is complete, start the MySQL server using the newly-installed control panel.&lt;/p&gt;


	&lt;p&gt;&lt;strong&gt;Note:&lt;/strong&gt; MySQL installs with a default user of &lt;code&gt;root&lt;/code&gt; using no password. If you care about the privacy of your data or computer, please read this page about &lt;a href=&quot;http://dev.mysql.com/doc/refman/4.1/en/user-names.html&quot;&gt;MySQL usernames and passwords&lt;/a&gt; and set a good one.&lt;/p&gt;


	&lt;h3&gt;MySQL Native Bindings Gem (Optional)&lt;/h3&gt;


	&lt;p&gt;This step is an optional one, but the &lt;a href=&quot;http://weblog.rubyonrails.com/2005/10/30/get-10-15-more-performance-with-mysql-rails&quot;&gt;performance gains&lt;/a&gt; seem to make it worth the extra step.&lt;/p&gt;


	&lt;p&gt;At the present time, there&amp;#8217;s a problem getting this gem to compile with MySQL 5.x. Fortunately, there&amp;#8217;s a way to fix it ourselves, using a patch file (originally created by &lt;a href=&quot;http://juretta.com&quot;&gt;juretta.com&lt;/a&gt; and reproduced here). Hopefully this issue will be fixed soon, but until then, we&amp;#8217;ve got a workaround.&lt;/p&gt;


	&lt;p&gt;The command below &lt;strong&gt;will fail&lt;/strong&gt;. This is OK, and you still need to execute it. Just follow along for now.&lt;/p&gt;


&lt;pre&gt;
sudo gem install mysql -- --with-mysql-dir=/usr/local/mysql
&lt;/pre&gt;

	&lt;p&gt;Just like the Mongrel install, you might see a prompt asking you which gem to install:&lt;/p&gt;


&lt;pre&gt;
Select which gem to install for your platform
1. mysql 2.7.3 (mswin32)
2. mysql 2.7.1 (mswin32)
3. mysql 2.7 (ruby)
4. mysql 2.6 (ruby)
5. Skip this gem
6. Cancel installation
&lt;/pre&gt;

	&lt;p&gt;Again, just like the Mongrel install, we&amp;#8217;ll want to pick the option closest to the top that ends in &amp;#8220;(ruby)&amp;#8221;. In the example above, we&amp;#8217;d want to select option 3.&lt;/p&gt;


	&lt;p&gt;You should then see an error like this one:&lt;/p&gt;


&lt;pre&gt;
mysql.c: In function &#039;Init_mysql&#039;:
mysql.c:2015: error: &#039;ulong&#039; undeclared (first use in this function)
mysql.c:2015: error: (Each undeclared identifier is reported only once
mysql.c:2015: error: for each function it appears in.)
mysql.c:2015: error: parse error before numeric constant
mysql.c:2018: error: parse error before numeric constant
make: *** [mysql.o] Error 1
&lt;/pre&gt;

	&lt;p&gt;Although the build didn&amp;#8217;t finish, RubyGems did download the source code, depositing it deep within the bowels of our filesystem &amp;#8230; and now we can apply the patch:&lt;/p&gt;


&lt;pre&gt;
mkdir -p /usr/local/src/mac-mysql-gem
cd /usr/local/src/mac-mysql-gem
curl -O http://hivelogic.com/downloads/mac-mysql-gem.patch
cd /usr/local/lib/ruby/gems/1.8/gems/mysql-2.7
sudo ruby extconf.rb install mysql -- --with-mysql-dir=/usr/local/mysql
sudo cp mysql.c mysql.c.dist
sudo patch mysql.c /usr/local/src/mac-mysql-gem/mac-mysql-gem.patch
sudo make
sudo make install
cd /usr/local/src
&lt;/pre&gt;

	&lt;h3&gt;We&amp;#8217;re Done&lt;/h3&gt;


	&lt;p&gt;Congratulations, you now have a custom-built, properly located installation of Ruby, Ruby on Rails, MySQL, Mongrel, and Capistrano!&lt;/p&gt;


	&lt;p&gt;If you&amp;#8217;re new to Rails and just want to create a sample app to see this all working, try this:&lt;/p&gt;


&lt;pre&gt;
rails testapp
cd testapp
script/server
&lt;/pre&gt;

	&lt;p&gt;This will create a basic Rails app in a folder called &lt;code&gt;testapp&lt;/code&gt; in your current folder (probably &lt;code&gt;/usr/local/src&lt;/code&gt; if you&amp;#8217;re doing this where the last step left off).&lt;/p&gt;


	&lt;p&gt;If all goes well, you&amp;#8217;ll get some output that looks like this:&lt;/p&gt;


&lt;pre&gt;
=&amp;gt; Booting Mongrel (use &#039;script/server webrick&#039; to force WEBrick)
=&amp;gt; Rails application starting on http://0.0.0.0:3000
=&amp;gt; Call with -d to detach
=&amp;gt; Ctrl-C to shutdown server
** Starting Mongrel listening at 0.0.0.0:3000
** Starting Rails with development environment...
** Rails loaded.
** Loading any Rails specific GemPlugins
** Signals ready.  TERM =&amp;gt; stop.  USR2 =&amp;gt; restart.  INT =&amp;gt; stop (no restart).
** Rails signals registered.  HUP =&amp;gt; reload (without restart).  It might not work well.
** Mongrel available at 0.0.0.0:3000
** Use CTRL-C to stop.
&lt;/pre&gt;

	&lt;p&gt;You can now check out your new app by clicking or pasting this link in your browser of choice: &lt;a href=&quot;http://localhost:3000&quot;&gt;http://localhost:3000&lt;/a&gt;&lt;/p&gt;


	&lt;h3&gt;What Else?&lt;/h3&gt;


	&lt;p&gt;To do any real work with your new app, you&amp;#8217;ll want to create a database for it. The Rails convention is that the database will take the same name as the name you specified when the app was created (in this case, &amp;#8220;testapp&amp;#8221;).&lt;/p&gt;


	&lt;p&gt;You&amp;#8217;ll need to first start up MySQL, and then create a database. While you can start MySQL using the control panel you installed earlier, it can also be started using the command line:&lt;/p&gt;


&lt;pre&gt;
sudo /Library/StartupItems/MySQLCOM/MySQLCOM start
&lt;/pre&gt;

	&lt;p&gt;You won&amp;#8217;t have to run this command again, because the startup item you installed for MySQL will make sure it&amp;#8217;s running the next time you boot your Mac. With MySQL running, you can create a new database for the test application:&lt;/p&gt;


&lt;pre&gt;
mysqladmin -uroot create testapp_development
&lt;/pre&gt;

	&lt;p&gt;If you created a password for MySQL, you&amp;#8217;ll need to add the &lt;code&gt;-p&lt;/code&gt; option to the command above and you&amp;#8217;ll be prompted for your password.&lt;/p&gt;


	&lt;p&gt;The rest is up to you. Good luck, and have fun with Rails!&lt;/p&gt;


&lt;hr/&gt;
&lt;strong&gt;The Hivelogic Radio Show&lt;/strong&gt; &amp;#8211; Dan Benjamin&amp;#8217;s &lt;a href=&quot;http://hivelogic.com/podcast&quot;&gt;new podcast is here&lt;/a&gt;.</description>
            
            <pubDate>Sat, 03 Feb 2007 14:28:25 -0800</pubDate>
        </item>
            
        <item>
            <title>Updates to the Rails OS X Build Instructions</title>
            <link>http://swik.net/MySQL/Planet+MySQL/Updates+to+the+Rails+OS+X+Build+Instructions/wevl</link>
            <description>&lt;p&gt;I&amp;#8217;ve updated and tweaked the &lt;a href=&quot;http://hivelogic.com/narrative/articles/ruby-rails-mongrel-mysql-osx&quot;&gt;Building Ruby on Rails on &lt;span class=&quot;caps&quot;&gt;OS X&lt;/span&gt; tutorial&lt;/a&gt; to include instructions for installing Subversion (good idea, &lt;a href=&quot;http://duncandavidson.com&quot;&gt;Duncan&lt;/a&gt;).&lt;/p&gt;


	&lt;p&gt;I&amp;#8217;ve also modified them to use a more tried-and-true version of RubyGems, and I re-invited Readline to the party. Seems like some people really missed him.&lt;/p&gt;


	&lt;p&gt;If you had issues getting everything to work perfectly, and especially if you saw an error like this:&lt;/p&gt;


&lt;pre&gt;
dyld: NSLinkModule() error
dyld: Symbol not found: _rl_filename_completion_function
  Referenced from: /usr/local/lib/ruby/1.8/i686-darwin8.8.4/readline.bundle
  Expected in: flat namespace
&lt;/pre&gt;

	&lt;p&gt;Please run through the steps once more.&lt;/p&gt;


	&lt;p&gt;It&amp;#8217;s weird and worth mentioning, however, that I cannot reproduce this error on Intel or PowerPC, even on a fresh install of Mac &lt;span class=&quot;caps&quot;&gt;OS X&lt;/span&gt;.&lt;/p&gt;


&lt;hr/&gt;
&lt;strong&gt;The Hivelogic Radio Show&lt;/strong&gt; &amp;#8211; Dan Benjamin&amp;#8217;s &lt;a href=&quot;http://hivelogic.com/podcast&quot;&gt;new podcast is here&lt;/a&gt;.</description>
            
            <pubDate>Sat, 03 Feb 2007 14:28:25 -0800</pubDate>
        </item>
            
        <item>
            <title>Ruby and Rails on Emacs Screencast</title>
            <link>http://swik.net/Emacs/del.icio.us+tag%2Femacs/Ruby+and+Rails+on+Emacs+Screencast/t7fe</link>
            <description>Marshall Vandegrift has put together a compelling screencast of his Emacs setup which sports as many, if not more, features as TextMate</description>
            
            <pubDate>Mon, 15 Jan 2007 12:54:42 -0800</pubDate>
        </item>
            
        <item>
            <title>LocusFocus— Screenshots and Screencasts of RAM in action.</title>
            <link>http://swik.net/opensource/del.icio.us+tag%2Fopensource/LocusFocus%E2%80%94+Screenshots+and+Screencasts+of+RAM+in+action./pvvb</link>
            <description></description>
            
            <pubDate>Tue, 21 Nov 2006 22:23:25 -0800</pubDate>
        </item>
            
        <item>
            <title>Форум - Talks - Emacs и табы</title>
            <link>http://swik.net/Emacs/del.icio.us+tag%2Femacs/%D0%A4%D0%BE%D1%80%D1%83%D0%BC+-+Talks+-+Emacs+%D0%B8+%D1%82%D0%B0%D0%B1%D1%8B/nu08</link>
            <description></description>
            
            <pubDate>Tue, 24 Oct 2006 05:27:18 -0700</pubDate>
        </item>
            
        <item>
            <title>Emacs screencast</title>
            <link>http://swik.net/Emacs/del.icio.us+tag%2Femacs/Emacs+screencast/nrp0</link>
            <description></description>
            
            <pubDate>Sun, 22 Oct 2006 20:23:59 -0700</pubDate>
        </item>
                </channel>
</rss>
