<?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>It&#039;s Not Rocket Surgery &#187; rails</title>
	<atom:link href="http://blog.craiglpatterson.com/category/rails/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.craiglpatterson.com</link>
	<description>This is what is distracting me right now.</description>
	<lastBuildDate>Wed, 04 May 2011 17:02:48 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.2.1</generator>
		<item>
		<title>Hand cart on the (Ruby on) Rails</title>
		<link>http://blog.craiglpatterson.com/2008/01/13/hand-cart-on-the-ruby-on-rails/</link>
		<comments>http://blog.craiglpatterson.com/2008/01/13/hand-cart-on-the-ruby-on-rails/#comments</comments>
		<pubDate>Sun, 13 Jan 2008 05:49:55 +0000</pubDate>
		<dc:creator>craiglp</dc:creator>
				<category><![CDATA[Leopard]]></category>
		<category><![CDATA[OS X]]></category>
		<category><![CDATA[programming]]></category>
		<category><![CDATA[rails]]></category>
		<category><![CDATA[ruby]]></category>

		<guid isPermaLink="false">http://craiglp.wordpress.com/2008/01/13/hand-cart-on-the-ruby-on-rails/</guid>
		<description><![CDATA[In my previous post I detailed my problems getting NetBeans 6.0 to use the native Ruby installation on OS X Leopard. So, we pick up the story with that issue resolved. Ok, time to create a new Rails project and get started. I go through the standard steps in NetBeans and am informed that there [...]]]></description>
			<content:encoded><![CDATA[<p>In my previous <a href="http://craiglp.wordpress.com/2008/01/07/accelerating-from-a-stop/">post</a> I detailed my problems getting NetBeans 6.0 to use the native Ruby installation on OS X Leopard. So, we pick up the story with that issue resolved.</p>
<p>Ok, time to create a new Rails project and get started. I go through the standard steps in NetBeans and am informed that there is a problem with my gems directory, and NetBeans thinks I am using Rails 1.2.6, instead of the 2.0.2 I installed. The error message sends me off the NetBeans <a href="http://wiki.netbeans.org/">wiki</a> for <a href="http://wiki.netbeans.org/wiki/view/RubyGems">details</a>. So, off I go to figure out how to add GEM_HOME and GEM_PATH to my environment, so NB will recognize my gems directory. After about 30 minutes of surfing for answers I find the right combination of pages that allow me to piece together the answer.</p>
<p>I&#8217;m now running with a freshly created Rails project, complete with a database, with tables.</p>
<p>NOW, I can start coding. So far, the NetBeans/OS X combination has been more frustrating than it should be. Hopefully, I&#8217;ve completed all of the initiation rites.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.craiglpatterson.com/2008/01/13/hand-cart-on-the-ruby-on-rails/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Accelerating From a Stop</title>
		<link>http://blog.craiglpatterson.com/2008/01/07/accelerating-from-a-stop/</link>
		<comments>http://blog.craiglpatterson.com/2008/01/07/accelerating-from-a-stop/#comments</comments>
		<pubDate>Mon, 07 Jan 2008 15:50:47 +0000</pubDate>
		<dc:creator>craiglp</dc:creator>
				<category><![CDATA[Leopard]]></category>
		<category><![CDATA[OS X]]></category>
		<category><![CDATA[programming]]></category>
		<category><![CDATA[rails]]></category>
		<category><![CDATA[ruby]]></category>
		<category><![CDATA[Software]]></category>
		<category><![CDATA[software engineering]]></category>

		<guid isPermaLink="false">http://craiglp.wordpress.com/2008/01/07/accelerating-from-a-stop/</guid>
		<description><![CDATA[Ok, step one: Install Netbeans 6.0 Ruby version. No problem here, it works like any other package install. Now to configure it to my taste. The main change is to change the default Ruby engine from the included JRuby to the OS X installed 1.8.6 version of Ruby. I have nothing against JRuby, but at [...]]]></description>
			<content:encoded><![CDATA[<p>Ok, step one: Install <a href="http://www.netbeans.org/features/ruby/index.html">Netbeans 6.0 Ruby</a> version. No problem here, it works like any other package install.  Now to configure it to my taste. The main change is to change the default Ruby engine from the included <a href="http://jruby.codehaus.org/">JRuby</a> to the <a href="http://www.apple.com/macosx/">OS X</a> installed 1.8.6 version of <a href="http://www.ruby-lang.org/en/">Ruby</a>. I have nothing against JRuby, but at this stage I don&#8217;t want to debug JRuby related issues, so I want to stick with the de facto version. On Windows the location of your local Ruby installation is easy enough to find, c:rubybinruby.exe. On OS X I looked all over for it. It ran fine from the console, so it was installed and worked. But, where is the binary? I looked in the usual places, that I could think of, no joy. So, I turned to my local OS X/Ruby/NetBeans guru: <a href="http://www.google.com">Google</a>. After much searching, I found a <a href="http://trac.macosforge.org/projects/ruby/wiki/WhatsNewInLeopard">page</a> with the path I needed. It seems that Ruby has been &#8220;framework-ized&#8221; into OS X. But, the binaries have been symlinked to: <tt>/usr/bin/ruby. Problem solved.</tt></p>
<p>Step two: MySql. Downloaded. Installed from package. Done. Well, I need to install an OS X admin util. But, I can administrate it from the command-line in the meantime.</p>
<p>I opened the <a href="http://media.pragprog.com/titles/rails2/code/rails2-code.tgz">Depot</a> Rails app from the <a href="http://www.pragprog.com/titles/rails2">Agile Rails book</a>, ran the DB migrations and fired it up. Success.</p>
<p>Ok, I have a usable environment. Time to code.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.craiglpatterson.com/2008/01/07/accelerating-from-a-stop/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
	</channel>
</rss>

