<?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/"
	xmlns:itunes="http://www.itunes.com/dtds/podcast-1.0.dtd">

<channel>
	<title>SFNaim &#124; Curtis McHale</title>
	<atom:link href="http://www.curtismchale.ca/feed/podcast/" rel="self" type="application/rss+xml" />
	<link>http://www.curtismchale.ca</link>
	<description>Web Design for your users</description>
	<lastBuildDate>Tue, 06 Jul 2010 12:00:52 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0</generator>
<itunes:summary>Screencasts that simplify complex technology for the normal people out there.</itunes:summary>
	<itunes:subtitle>Web Design for your users</itunes:subtitle>
	<itunes:author>Curtis McHale</itunes:author>
	<itunes:image href="http://www.curtismchale.ca/wp-content/uploads/nth-itunes-image.jpg" />
	<image><url>http://www.curtismchale.ca/wp-content/uploads/nth-itunes-image.jpg</url><title>SFNaim | Curtis McHale</title><link>http://www.curtismchale.ca</link></image>
	<itunes:category text="Technology">
		<itunes:category text="Software How-To" />
	</itunes:category>
	<itunes:category text="Arts">
		<itunes:category text="Design" />
	</itunes:category>
	<itunes:category text="Technology" />
	<itunes:keywords>ruby on rails, unix, linux, windows, CSS, HTML, HAML, SASS, OSX</itunes:keywords>
	<itunes:explicit>no</itunes:explicit>
	<itunes:owner>
		<itunes:name>Curtis McHale</itunes:name>
		<itunes:email>curtis.mchale@gmail.com</itunes:email>
	</itunes:owner>
			<item>
		<title>The Best Windows Ruby on Rails Setup Part 2 - Install Ruby on Rails in Ubuntu</title>
		<link>http://www.curtismchale.ca/tutorials/the-best-windows-ruby-on-rails-setup-part-2/</link>
		<comments>http://www.curtismchale.ca/tutorials/the-best-windows-ruby-on-rails-setup-part-2/#comments</comments>
		<pubDate>Wed, 23 Sep 2009 12:00:52 +0000</pubDate>
		<dc:creator>Curtis McHale</dc:creator>
				<category><![CDATA[Ruby on Rails]]></category>
		<category><![CDATA[Screencast]]></category>
		<category><![CDATA[Tutorials]]></category>
		<category><![CDATA[komodo edit]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[sqlite3]]></category>
		<category><![CDATA[ubuntu]]></category>
		<category><![CDATA[windows]]></category>

		<guid isPermaLink="false">http://www.curtismchale.ca/?p=657</guid>
		<description><![CDATA[This is the second part to getting a Windows machine set up for Ruby on Rails Development by having Ubuntu running inside Virtualbox. View Part 1 here. Today&#8217;s screencast will walk through installing Ruby, rubygems 1.3.5 and Rails with rubygems, and SqLite3 as well as installing my preferred code editor Komodo Edit. Watch the screencast [...]]]></description>
			<content:encoded><![CDATA[<div id="attachment_945" class="wp-caption alignright" style="width: 260px"><img src="http://www.curtismchale.ca/wp-content/uploads/2009/09/episode-002.jpg" alt="Episode 2 - The Best Windows Ruby on Rails Setup, Part 2" title="episode-002" width="250" height="250" class="size-full wp-image-945" /><p class="wp-caption-text">Episode 2 - The Best Windows Ruby on Rails Setup, Part 2</p></div><br />
This is the second part to getting a Windows machine set up for Ruby on Rails Development by having Ubuntu running inside Virtualbox. <a href="http://www.curtismchale.ca/tutorials/the-best-windows-ruby-on-rails-setup-part-1-screentcast/">View Part 1 here</a>. Today&#8217;s screencast will walk through installing <a href="http://www.ruby-lang.org/en/">Ruby</a>, <a href="http://rubyforge.org/projects/rubygems/">rubygems 1.3.5</a> and <a href="http://rubyonrails.org/">Rails</a> with rubygems, and <a href="http://www.sqlite.org/">SqLite3</a> as well as installing my preferred code editor <a href="http://www.activestate.com/komodo_edit/">Komodo Edit</a>. Watch the screencast or read below for the written instructions.</p>
<h3>Edit</h3>
<p>This same procedure has now been tested on Ubuntu 9.10 and works fine.</p>
<p>
<h3><a href="http://www.curtismchale.ca/tutorials/the-best-windows-ruby-on-rails-setup-part-1-screentcast/">View Part 1</a></h3>
<h3>Installing Ruby</h3>
<p>To install Ruby in Ubuntu we can simply install from the built in repository in Ubuntu. You don&#8217;t need to compile this from source if you don&#8217;t want to.</p>
<pre class="brush: bash">sudo apt-get install ruby-full build-essential</pre>
<p>Now let&#8217;s see what version of Ruby we have.</p>
<pre class="brush: bash">ruby -v</pre>
<p>This should return something along the lines of:</p>
<pre class="brush: bash">ruby 1.8.7p5000 (2009-02-22) [i686-linux]</pre>
<p>And finally let&#8217;s check to make sure the Ruby library is working.</p>
<pre class="brush: bash">ruby -ropenssl -rzlib -rreadline -e &#039;puts :Hello&#039;</pre>
<p>Should return</p>
<pre class="brush: bash">Hello</pre>
<h3>Installing Ruby Gems</h3>
<p>Ruby Gems should be compiled from source using the latest version of Ruby Gems. The first line of bash I run just runs two commands one after the other.</p>
<pre class="brush: bash">
mkdir src
cd src
wget http://rubyforge.org/frs/download.php/57643/rubygems-1.3.4.tgz
tar -xzvf rubygems-1.3.4.tgz
cd rubygems-1.3.4
sudo ruby setup.rb
sudo ln -s /usr/bin/gem1.8 /usr/bin/gem
</pre>
<p>Nothing shows as output form the last command. It creates a symbolic link.</p>
<h3>Installing Rails</h3>
<p>Now that we have Ruby Gems installed Rails is a very simple thing to install. You should think of Rails to Ruby as you think of jQuery to Javascript. Rails is simply a set of assumptions about how you want to use Ruby that is bundled into a Gem. Install Rails through Ruby Gems with a single line.</p>
<pre class="brush: bash">sudo gem install rails</pre>
<h3>Testing Your Rails Installation</h3>
<p>Now that we have Ruby on Rails installed properly we should test it just to be sure.</p>
<pre class="brush: bash">
cd ~/
mkdir sandbox
cd sandbox
rails test-app
cd test-app
script/server
</pre>
<p>Now open up Firefox and enter &#8220;localhost:3000&#8243; into your url bar. You should see the standard Ruby on Rails starting app page.</p>
<h3>Edit</h3>
<p>As you&#8217;ll notice in the screencast Rails works but gives a warning and I wasn&#8217;t sure what it was. Thanks to Brian Mayle who helpfully points out the answer in the comments. We still need to install the sqlite3 connector. So run the following two lines and you&#8217;ll be right as rain.</p>
<pre class="brush: bash">
sudo apt-get install libsqlite3-dev
sudo gem install sqlite3-ruby
</pre>
<h3>Installing Komodo</h3>
<p>Finally we&#8217;re going to install <a href="http://www.activestate.com/komodo_edit/">Komodo Edit</a> which is my preferred code editor for Ruby on Rails projects. I have tried Bluefish, Netbeans and many other but just keep coming back to Komodo Edit as superior for how I work.</p>
<p>Start by downloading <a href="http://www.activestate.com/komodo_edit/">Komodo Edit</a> and just directly opening it in the Archive Manager. Drag the resulting folder onto your desktop and jump back into the terminal and run the commands below.</p>
<pre class="brush: bash">
cd ~/Desktop/Komodo-Edit-5.2.0-4075-linux-libcpp6-x86
sh install.sh
</pre>
<p>Now it&#8217;s going to ask where you want to install your software. I like to keep things organized so I install all of the custom apps inside my Home folder in a folder called software. Run the following commands to accomplish this.</p>
<pre class="brush: bash">
/home/myuser/software/Komodo-Edit-5
</pre>
<p>Next we have to insert the executable in our PATH variable with the command below.</p>
<pre class="brush: bash">
sudo ln -s &#039;/home/myuser/Software/Komodo-Edit-5/bin/komodo&#039; /usr/local/bin/komodo
</pre>
<p>Now you&#8217;ll have a new &#8216;icon&#8217; on your desktop that says &#8216;komodo-edit-5.desktop. This is the actual icon to launch the application but first we need to right click on it select &#8216;Properties/Permission&#8221; and check the box that allows executing as a program. You should now see the proper Komodo Edit Icon.</p>
<p>I like to drag this icon into the software folder we created and then from there drag it into the top bar in my Ubuntu installation so I can launch the application easily.</p>
<h3>Conclusion</h3>
<p>Now we have a working Ruby on Rails development environment with a working code editor. If you have any questions let me know in the comments.</p>
<h3>Links used</h3>
<ul>
<li><a href="http://wiki.rubyonrails.org/getting-started/installation/linux-ubuntu">Rails Wiki Installation Instructions</a></li>
<li><a href="http://www.activestate.com/komodo_edit/">Komodo Edit Download</a></li>
</ul>
]]></content:encoded>
			<wfw:commentRss>http://www.curtismchale.ca/tutorials/the-best-windows-ruby-on-rails-setup-part-2/feed/</wfw:commentRss>
		<slash:comments>6</slash:comments>
<enclosure url="http://blip.tv/file/get/Curtismchale-TheBestRubyOnRailsSetupForWindowsPart2281.mov" length="122251418" type="video/quicktime" />
	<itunes:summary>Episode 2 - The Best Windows Ruby on Rails Setup, Part 2
This is the second part to getting a Windows machine set up for Ruby on Rails Development by having Ubuntu running inside Virtualbox. View Part 1 here. Today’s screencast will walk through installing Ruby, rubygems 1.3.5 and Rails with rubygems, and SqLite3 as well as installing my preferred code editor Komodo Edit. Watch the screencast or read below for the written instructions.
Edit
This same procedure has now been tested on Ubuntu 9.10 and works fine.

View Part 1
Installing Ruby
To install Ruby in Ubuntu we can simply install from the built in repository in Ubuntu. You don’t need to compile this from source if you don’t want to.
sudo apt-get install ruby-full build-essential
Now let’s see what version of Ruby we have.
ruby -v
This should return something along the lines of:
ruby 1.8.7p5000 (2009-02-22) [i686-linux]
And finally let’s check to make sure the Ruby library is working.
ruby -ropenssl -rzlib -rreadline -e &#039;puts :Hello&#039;
Should return
Hello
Installing Ruby Gems
Ruby Gems should be compiled from source using the latest version of Ruby Gems. The first line of bash I run just runs two commands one after the other.

mkdir src
cd src
wget http://rubyforge.org/frs/download.php/57643/rubygems-1.3.4.tgz
tar -xzvf rubygems-1.3.4.tgz
cd rubygems-1.3.4
sudo ruby setup.rb
sudo ln -s /usr/bin/gem1.8 /usr/bin/gem

Nothing shows as output form the last command. It creates a symbolic link.
Installing Rails
Now that we have Ruby Gems installed Rails is a very simple thing to install. You should think of Rails to Ruby as you think of jQuery to Javascript. Rails is simply a set of assumptions about how you want to use Ruby that is bundled into a Gem. Install Rails through Ruby Gems with a single line.
sudo gem install rails
Testing Your Rails Installation
Now that we have Ruby on Rails installed properly we should test it just to be sure.

cd ~/
mkdir sandbox
cd sandbox
rails test-app
cd test-app
script/server

Now open up Firefox and enter “localhost:3000″ into your url bar. You should see the standard Ruby on Rails starting app page.
Edit
As you’ll notice in the screencast Rails works but gives a warning and I wasn’t sure what it was. Thanks to Brian Mayle who helpfully points out the answer in the comments. We still need to install the sqlite3 connector. So run the following two lines and you’ll be right as rain.

sudo apt-get install libsqlite3-dev
sudo gem install sqlite3-ruby

Installing Komodo
Finally we’re going to install Komodo Edit which is my preferred code editor for Ruby on Rails projects. I have tried Bluefish, Netbeans and many other but just keep coming back to Komodo Edit as superior for how I work.
Start by downloading Komodo Edit and just directly opening it in the Archive Manager. Drag the resulting folder onto your desktop and jump back into the terminal and run the commands below.

cd ~/Desktop/Komodo-Edit-5.2.0-4075-linux-libcpp6-x86
sh install.sh

Now it’s going to ask where you want to install your software. I like to keep things organized so I install all of the custom apps inside my Home folder in a folder called software. Run the following commands to accomplish this.

/home/myuser/software/Komodo-Edit-5

Next we have to insert the executable in our PATH variable with the command below.

sudo ln -s &#039;/home/myuser/Software/Komodo-Edit-5/bin/komodo&#039; /usr/local/bin/komodo

Now you’ll have a new ‘icon’ on your desktop that says ‘komodo-edit-5.desktop. This is the actual icon to launch the application but first we need to right click on it select ‘Properties/Permission” and check the box that allows executing as a program. You should now see the proper Komodo Edit Icon.
I like to drag this icon into the software folder we created and then from there drag it into the top bar in my Ubuntu installation so I can launch the application easily.
Conclusion
Now we have a working Ruby on Rails [...]</itunes:summary>
<itunes:subtitle>This is the second part to getting a Windows machine set up for Ruby on Rails Development by having Ubuntu running inside Virtualbox. View Part 1 here. Today’s screencast will walk through installing Ruby, rubygems 1.3.5 and Rails with rubygems, [...]</itunes:subtitle>
<itunes:author>Curtis McHale</itunes:author>
<itunes:duration>13:36</itunes:duration>
<itunes:keywords>ubuntu, linux, ruby on rails, komodo edit, sqlite3, windows</itunes:keywords>
<itunes:explicit>no</itunes:explicit>
	</item>
		<item>
		<title>The Best Windows Ruby on Rails Setup Part 1 - Install Virtualbox on Windows</title>
		<link>http://www.curtismchale.ca/tutorials/the-best-windows-ruby-on-rails-setup-part-1-screentcast/</link>
		<comments>http://www.curtismchale.ca/tutorials/the-best-windows-ruby-on-rails-setup-part-1-screentcast/#comments</comments>
		<pubDate>Mon, 14 Sep 2009 12:00:11 +0000</pubDate>
		<dc:creator>Curtis McHale</dc:creator>
				<category><![CDATA[Ruby on Rails]]></category>
		<category><![CDATA[Screencast]]></category>
		<category><![CDATA[Tutorials]]></category>
		<category><![CDATA[guest additions]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[parrallels]]></category>
		<category><![CDATA[ror]]></category>
		<category><![CDATA[snapshot]]></category>
		<category><![CDATA[ubuntu]]></category>
		<category><![CDATA[virtual box]]></category>
		<category><![CDATA[virtualization]]></category>
		<category><![CDATA[vista]]></category>
		<category><![CDATA[vmware]]></category>
		<category><![CDATA[windows]]></category>

		<guid isPermaLink="false">http://www.curtismchale.ca/?p=655</guid>
		<description><![CDATA[I recently purchased a new computer and had to get Ruby on Rails installed on it. Up to this point I&#8217;ve been using my wife&#8217;s Macbook for ROR development on weekends. It was time to make the jump to a dedicated environment that didn&#8217;t interfere with the Facebook cravings of the wife. Instead of just [...]]]></description>
			<content:encoded><![CDATA[<p><div id="attachment_924" class="wp-caption alignright" style="width: 260px"><img src="http://www.curtismchale.ca/wp-content/uploads/2009/09/episode-001.jpg" alt="The Best Windows Ruby on Rails Setup" title="nth-guide-episode-001" width="250" height="250" class="size-full wp-image-924" /><p class="wp-caption-text">The Best Windows Ruby on Rails Setup</p></div><br />
I recently purchased a new computer and had to get Ruby on Rails installed on it. Up to this point I&#8217;ve been using my wife&#8217;s Macbook for ROR development on weekends. It was time to make the jump to a dedicated environment that didn&#8217;t interfere with the Facebook cravings of the wife. </p>
<p>Instead of just diving blindly into setting it up I tapped the knowledge of one of the guys I know who works at <a href="http://www.engineyard.com/">Engine Yard</a> and worked on Windows. </p>
<p><strong>Update:</strong> I have now installed Karmic Koala in Virtualbox in Windows 7 and the process is exactly the same.</p>
<p>His answer to me was&#8230;the best way to install Ruby on Rails in Windows is to get Linux. So watch the screencast as I install <a href="http://www.ubuntu.com/">Ubuntu</a> in <a href="http://www.virtualbox.org/">Virtual Box</a> on my Vista PC.<br />
<br />
<br />
</p>
<h3><a href="http://www.curtismchale.ca/tutorials/the-best-windows-ruby-on-rails-setup-part-2/">View Part 2</a></h3>
<h3>Download Links</h3>
<ul>
<li><a href="http://www.ubuntu.com/getubuntu/download">Ubuntu</a></li>
<li><a href="http://www.virtualbox.org/wiki/Downloads">VirtualBox</a></li>
<li><a href="http://www.parallels.com/">Parallels</a></li>
<li><a href="http://www.vmware.com/">VMware</a></li>
</ul>
]]></content:encoded>
			<wfw:commentRss>http://www.curtismchale.ca/tutorials/the-best-windows-ruby-on-rails-setup-part-1-screentcast/feed/</wfw:commentRss>
		<slash:comments>7</slash:comments>
<enclosure url="http://blip.tv/file/get/Curtismchale-TheBestWindowsRubyOnRailsSetupForWindowsPart1438.mov" length="123188151" type="video/quicktime" />
	<itunes:summary>The Best Windows Ruby on Rails Setup
I recently purchased a new computer and had to get Ruby on Rails installed on it. Up to this point I’ve been using my wife’s Macbook for ROR development on weekends. It was time to make the jump to a dedicated environment that didn’t interfere with the Facebook cravings of the wife. 
Instead of just diving blindly into setting it up I tapped the knowledge of one of the guys I know who works at Engine Yard and worked on Windows. 
Update: I have now installed Karmic Koala in Virtualbox in Windows 7 and the process is exactly the same.
His answer to me was…the best way to install Ruby on Rails in Windows is to get Linux. So watch the screencast as I install Ubuntu in Virtual Box on my Vista PC.



View Part 2
Download Links

Ubuntu
VirtualBox
Parallels
VMware

</itunes:summary>
<itunes:subtitle>I recently purchased a new computer and had to get Ruby on Rails installed on it. Up to this point I’ve been using my wife’s Macbook for ROR development on weekends. It was time to make the jump to a dedicated environment that didn’t [...]</itunes:subtitle>
	</item>
	</channel>
</rss>
