<?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>The Lucid &#187; tools</title>
	<atom:link href="http://thelucid.com/tag/tools/feed/" rel="self" type="application/rss+xml" />
	<link>http://thelucid.com</link>
	<description>The Lightweight Ramblings of Jamie Hill</description>
	<lastBuildDate>Sun, 11 Mar 2012 19:52:46 +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>Building Ruby, Rails, Subversion, Mongrel, and MySQL on Mac OS X Tiger &#8211; The Easy Way</title>
		<link>http://thelucid.com/2007/03/01/building-ruby-rails-subversion-mongrel-and-mysql-on-mac-os-x-the-easy-way/</link>
		<comments>http://thelucid.com/2007/03/01/building-ruby-rails-subversion-mongrel-and-mysql-on-mac-os-x-the-easy-way/#comments</comments>
		<pubDate>Fri, 02 Mar 2007 01:40:00 +0000</pubDate>
		<dc:creator>Jamie</dc:creator>
				<category><![CDATA[General]]></category>
		<category><![CDATA[Mac / OS X]]></category>
		<category><![CDATA[Rails]]></category>
		<category><![CDATA[osx]]></category>
		<category><![CDATA[Ruby]]></category>
		<category><![CDATA[tools]]></category>

		<guid isPermaLink="false">http://861ea501-9402-46b4-8688-399c1f781438</guid>
		<description><![CDATA[&#8220;Dan Benjamin&#8221;:http://hivelogic.com/authors/danbenjamin recently updated his very helpful article entitled &#8220;&#8221;Building Ruby, Rails, Subversion, Mongrel, and MySQL on Mac OS X&#8221;:http://hivelogic.com/narrative/articles/ruby-rails-mongrel-mysql-osx&#8221;. I don&#8217;t know about anyone else but compiling software is not one of my favourite pastimes. As I&#8217;ve been chopping and changing macs lately I thought I&#8217;d write a couple of shell scripts to get [...]]]></description>
			<content:encoded><![CDATA[<p>&#8220;Dan Benjamin&#8221;:http://hivelogic.com/authors/danbenjamin recently updated his very helpful article entitled &#8220;&#8221;Building Ruby, Rails, Subversion, Mongrel, and MySQL on Mac OS X&#8221;:http://hivelogic.com/narrative/articles/ruby-rails-mongrel-mysql-osx&#8221;.</p>
<p>I don&#8217;t know about anyone else but compiling software is not one of my favourite pastimes. As I&#8217;ve been chopping and changing macs lately I thought I&#8217;d write a couple of shell scripts to get things right before running anything on my nice new (freshly installed) MacBook Pro.</p>
<p>h3. Prerequisites</p>
<p>There are a couple of prerequisites in addition to what&#8217;s on Dan&#8217;s &#8220;&#8221;What&#8217;s Needed&#8221;:http://hivelogic.com/narrative/articles/ruby-rails-mongrel-mysql-osx&#8221; list before running &#8220;the scripts&#8221;:http://svn.soniciq.com/public/rails/tools/osx_development_setup/. The first is that you must have MySQL installed as referenced in &#8220;Dan&#8217;s article&#8221;:http://hivelogic.com/narrative/articles/ruby-rails-mongrel-mysql-osx, and the second being the following:</p>
<p>Ensure you have the following line at the end of your <code>~/.bash_login</code> file:</p>
<pre>
export PATH="/usr/local/bin:/usr/local/sbin:/usr/local/mysql/bin:$PATH"
</pre>
<p>You can add this by typing <code>nano ~/.bash_login</code> then copy and paste the above line into the end of the file. Once this is done, hit ctrl-x to exit, answering &#8216;y&#8217; to &#8220;do you want to save changes&#8221; prompt.</p>
<p>h3. The scripts</p>
<p>There are two scripts, &#8220;01_osx_rails.sh&#8221;:http://svn.soniciq.com/public/rails/tools/osx_development_setup/01_osx_rails.sh and &#8220;02_osx_image_tools.sh&#8221;:http://svn.soniciq.com/public/rails/tools/osx_development_setup/02_osx_image_tools.sh and the following will explain how to use them.</p>
<p>h3. Creating your development environment</p>
<p>The first script will install everything in Dan&#8217;s article along with the following gems that I use frequently:<br />
* rails version 1.1.6 for support of older rails apps<br />
* bluecloth<br />
* redcloth<br />
* sqlite3-ruby<br />
* ferret<br />
* ZenTest<br />
* redgreen</p>
<p>Right&#8230; here we go:</p>
<p><small>(please read &#8220;the licence&#8221;:http://svn.soniciq.com/public/rails/tools/osx_development_setup/MIT-LICENCE before running these scripts as although they have been tested on a clean install of Tiger, I can&#8217;t take any responsibility if something breaks)</small><br />
# Download &#8220;01_osx_rails.sh&#8221;:http://svn.soniciq.com/public/rails/tools/osx_development_setup/01_osx_rails.sh to your desktop<br />
# If you don&#8217;t wish to install all of these gems then open the file in a text editor and comment out the relevant lines with a hash.<br />
# Open a new terminal window and type the following:<code>
<pre>
cd ~/Desktop
sh 01_osx_rails.sh
</pre>
<p></code><br />
# Go make a cup of tea and watch all the pretty text scroll before your eyes.</p>
<p>That&#8217;s it, you should now have a fully working development environment.</p>
<p>h3. Image tools</p>
<p>I use a couple of image tools on my system, GD and ImageMagick (with RMagick). If you wish to install these tools and the related libraries, run the following:</p>
<p><small>(This script hasn&#8217;t been tested as much as the previous one so use at your own risk. If anyone has any bug fixes then please post a comment)</small></p>
<p><code>
<pre>
cd ~/Desktop
sh 02_osx_image_tools.sh
</pre>
<p></code></p>
<p>h3. We&#8217;re done</p>
<p>Please let me know if I&#8217;ve missed anything obvious.</p>
<p>I hope this helps anyone else out there with Compilaphobia!</p>
]]></content:encoded>
			<wfw:commentRss>http://thelucid.com/2007/03/01/building-ruby-rails-subversion-mongrel-and-mysql-on-mac-os-x-the-easy-way/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
	</channel>
</rss>

