<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet type="text/xsl" media="screen" href="/~d/styles/rss2full.xsl"?><?xml-stylesheet type="text/css" media="screen" href="http://feeds.feedburner.com/~d/styles/itemcontent.css"?><rss 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:feedburner="http://rssnamespace.org/feedburner/ext/1.0" version="2.0">

<channel>
	<title>SuckLessAtRails</title>
	
	<link>http://www.sucklessatrails.com</link>
	<description>Sucking less at RoR one tutorial at a time</description>
	<lastBuildDate>Mon, 13 Jul 2009 02:43:28 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.1</generator>
		<atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="self" type="application/rss+xml" href="http://feeds.feedburner.com/Sucklessatrails" /><feedburner:info uri="sucklessatrails" /><atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="hub" href="http://pubsubhubbub.appspot.com/" /><feedburner:browserFriendly></feedburner:browserFriendly><item>
		<title />
		<link>http://www.sucklessatrails.com/2009/07/142/</link>
		<comments>http://www.sucklessatrails.com/2009/07/142/#comments</comments>
		<pubDate>Mon, 13 Jul 2009 02:42:43 +0000</pubDate>
		<dc:creator>Daniel</dc:creator>
				<category><![CDATA[Housekeeping]]></category>

		<guid isPermaLink="false">http://www.sucklessatrails.com/?p=142</guid>
		<description><![CDATA[Sorry for the lack of posts lately. I had the misfortune of having my car broken into and, amongst other things, my laptop was stolen. Hopefully I will be able to replace it soon and get back to bringing you quality tutorials so you can SuckLessAtRails. photo credit: optimal tweezers]]></description>
			<content:encoded><![CDATA[<p>Sorry for the lack of posts lately. I had the misfortune of having my car broken into and, amongst other things, my laptop was stolen. Hopefully I will be able to replace it soon and get back to bringing you quality tutorials so you can <a href="http://www.sucklessatrails.com" target="_self">SuckLessAtRails</a>.</p>
<p style="text-align: center;"><small><a title="Attribution License" href="http://creativecommons.org/licenses/by/2.0/" target="_blank"><img src="http://www.sucklessatrails.com/wp-content/plugins/photo-dropper/images/cc.png" border="0" alt="Creative Commons License" width="16" height="16" align="absmiddle" /></a> <a href="http://www.photodropper.com/photos/" target="_blank">photo</a> credit: <a title="optimal tweezers" href="http://www.flickr.com/photos/11280374@N07/2662467863/" target="_blank">optimal tweezers</a></small></p>
]]></content:encoded>
			<wfw:commentRss>http://www.sucklessatrails.com/2009/07/142/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Ruby on Rails Installation Tutorial Part 2 – Installing Rails 2.0 on Windows (Advanced Setup)</title>
		<link>http://www.sucklessatrails.com/2009/03/ruby-on-rails-installation-tutorial-part-2-installing-rails-20-on-windows-advanced-setup/</link>
		<comments>http://www.sucklessatrails.com/2009/03/ruby-on-rails-installation-tutorial-part-2-installing-rails-20-on-windows-advanced-setup/#comments</comments>
		<pubDate>Fri, 06 Mar 2009 23:02:12 +0000</pubDate>
		<dc:creator>Daniel</dc:creator>
				<category><![CDATA[Ruby on Rails Installation Tutorial]]></category>

		<guid isPermaLink="false">http://www.sucklessatrails.com/?p=67</guid>
		<description><![CDATA[In part 1 of this series we showed you the Easy way of setting up a Rails 2.0 development environment using InstantRails. Today we are going to cover a more advanced way of setting up a Rails 2.0 development environment on your Window machine. Ruby on Rails on Windows the Advanced Way Installing Ruby and [...]]]></description>
			<content:encoded><![CDATA[<p>In <a href="http://www.sucklessatrails.com/2009/02/ruby-on-rails-installation-tutorial-part-1-installing-rails-20-on-windows-easy-setup/">part 1</a> of this series we showed you the Easy way of setting up a Rails 2.0 development environment using InstantRails. Today we are going to cover a more advanced way of setting up a Rails 2.0 development environment on your Window machine.</p>
<h2>Ruby on Rails on Windows the Advanced Way</h2>
<h3>Installing Ruby and Gems</h3>
<p>Head over to the <a href="http://rubyonrails.org/download" target="_self">download page</a> on <a href="http://rubyonrails.org/">rubyonrails.org</a> and grab the newest stable version of the Windows installer (At present 1.8.6-26).</p>
<p>Once this downloads go a head and run the installer using all the defaults. This puts ruby in C:\ and installs ruby gems. This may take some time depending on your machine.</p>
<p><img class="aligncenter size-full wp-image-93" title="installer" src="http://www.sucklessatrails.com/wp-content/uploads/2009/03/installer.png" alt="installer" width="503" height="386" /></p>
<p>Once this finishes we need to update gem. To do this open up a command prompt (<strong>Start</strong> -&gt; <strong>Run</strong> -&gt; <strong>cmd</strong>) and type:</p>
<blockquote><p>gem update &#8211;system</p></blockquote>
<p style="text-align: center;"><img class="aligncenter size-full wp-image-96" title="updatesystem" src="http://www.sucklessatrails.com/wp-content/uploads/2009/03/updatesystem.png" alt="updatesystem" width="541" height="268" /></p>
<h3>Installing Rails</h3>
<p>Once gem is updated we can start installing the other components of the environment. We will start with Rails. In the same command prompt we just used type:</p>
<blockquote><p>gem install rails</p></blockquote>
<p style="text-align: center;"><img class="aligncenter size-full wp-image-97" title="installrails" src="http://www.sucklessatrails.com/wp-content/uploads/2009/03/installrails.png" alt="installrails" width="541" height="268" /></p>
<p>This takes some time and at times looks like it might have frozen up, but it hasn&#8217;t. It just takes a little bit. Go grab a drink with all this free time.</p>
<h3>Installing A Database</h3>
<p>Once you&#8217;re done with your drink and rails has installed its time to install a database. There are two simple options for this, SQLite3 and MySQL. SQLite is the default database that Rails uses. MySQL is the database that most people hear about in the web world because of its inclusion in the LAMP (<strong>L</strong>inux, <strong>A</strong>pachy, <strong>M</strong>ySQL, <strong>P</strong>HP) architecture. I would recommend using SQLite for the first time user. Its easier to use since Rails defaults to use it as I mentioned before.</p>
<h3>Installing SQLite</h3>
<p>To install SQLite head over to <a href="http://www.sqlite.org/index.html">www.sqlite.org</a> and navigate to the <a href="http://www.sqlite.org/download.html">download</a> page and grab the latest SQLite Command Line Tool and SQLite DLL (At present both are at version 3.6.11). Unzip both and put the contents into the ruby\bin folder.</p>
<p style="text-align: center;"><img class="aligncenter size-full wp-image-94" title="sqlitefiles" src="http://www.sucklessatrails.com/wp-content/uploads/2009/03/sqlitefiles.png" alt="sqlitefiles" width="525" height="393" /></p>
<p>Now we can use install the sqlite3-ruby gem. Using the command prompt again type:</p>
<blockquote><p>gem install sqlite3-ruby -v 1.2.3</p></blockquote>
<p style="text-align: center;"><img class="aligncenter size-full wp-image-95" title="sqliteinstall" src="http://www.sucklessatrails.com/wp-content/uploads/2009/03/sqliteinstall.png" alt="sqliteinstall" width="541" height="267" /></p>
<h3>Installing MySQL</h3>
<p>To install MySQL head over to <a href="http://www.mysql.com/">www.mysql.com</a> and navigate to the <a href="http://dev.mysql.com/downloads/mysql/5.1.html">download page</a> and get the latest version of MySQL Community Server (Presently at 6.0, but we&#8217;ll use 5.1)</p>
<p>Run the installer.</p>
<p><img class="aligncenter size-full wp-image-99" title="mysqlsetup" src="http://www.sucklessatrails.com/wp-content/uploads/2009/03/mysqlsetup.png" alt="mysqlsetup" width="504" height="379" /></p>
<p>Once this is done we will use the command prompt one last time to make sure we have the MySQL adapter. To do this, in the command prompt, type:</p>
<blockquote><p>gem install mysql</p></blockquote>
<p style="text-align: center;"><img class="aligncenter size-full wp-image-98" title="mysqlgem" src="http://www.sucklessatrails.com/wp-content/uploads/2009/03/mysqlgem.png" alt="mysqlgem" width="541" height="268" /></p>
<p>Congratulations you are all set up and ready to start coding some Ruby on Rails!</p>
<p style="text-align: center;"><small><a title="Attribution License" href="http://creativecommons.org/licenses/by/2.0/" target="_blank"><img src="http://www.sucklessatrails.com/wp-content/plugins/photo-dropper/images/cc.png" border="0" alt="Creative Commons License" width="16" height="16" align="absmiddle" /></a> photo credit: <a title="MissTurner" href="http://www.flickr.com/photos/12590212@N07/3179789370/" target="_blank">MissTurner</a></small></p>
]]></content:encoded>
			<wfw:commentRss>http://www.sucklessatrails.com/2009/03/ruby-on-rails-installation-tutorial-part-2-installing-rails-20-on-windows-advanced-setup/feed/</wfw:commentRss>
		<slash:comments>5</slash:comments>
		</item>
		<item>
		<title>Ruby on Rails Installation Tutorial Part 1 – Installing Rails 2.0 on Windows (Easy Setup)</title>
		<link>http://www.sucklessatrails.com/2009/02/ruby-on-rails-installation-tutorial-part-1-installing-rails-20-on-windows-easy-setup/</link>
		<comments>http://www.sucklessatrails.com/2009/02/ruby-on-rails-installation-tutorial-part-1-installing-rails-20-on-windows-easy-setup/#comments</comments>
		<pubDate>Sat, 28 Feb 2009 00:05:39 +0000</pubDate>
		<dc:creator>Daniel</dc:creator>
				<category><![CDATA[Ruby on Rails Installation Tutorial]]></category>

		<guid isPermaLink="false">http://www.sucklessatrails.com/?p=31</guid>
		<description><![CDATA[This is Part 1 in a series of tutorials teaching you how to set up a Rails 2.0 development environment on your machine be it a mac, Linux box or Windows machine. Today we will be covering the easy way to set up Rails 2.0 on Windows machines. Note: This if for Rails 2.0 and [...]]]></description>
			<content:encoded><![CDATA[<p>This is Part 1 in a series of tutorials teaching you how to set up a Rails 2.0 development environment on your machine be it a mac, Linux box or Windows machine. Today we will be covering the easy way to set up Rails 2.0 on Windows machines.</p>
<p><strong>Note:</strong> This if for Rails 2.0 and on. This will not work for previous versions of Rails.</p>
<h2>Ruby on Rails on Windows (The Easy Setup)</h2>
<p>Head over to the <a href="http://rubyforge.org/frs/?group_id=904">Instant Rails download page</a> on <a href="http://rubyforge.org/">rubyforge.org</a> and grab the newest version of Instant Rails (presently at 2.0)</p>
<p>Unzip this when it is done downloading. This may take a while depending on your machine.</p>
<p>I suggest unzipping it to C:\InstantRails. Notice that I did not put a space in between &#8216;Instant&#8217; and &#8216;Rails&#8217; this is because Instant Rails does <span style="text-decoration: underline;">not</span> support folders with spaces in them. This means a paths such as C:\Program Files\InstantRails or C:\Instant Rails will not work.</p>
<p>Now that it is unzipped jump into the InstantRails folder and start up InstantRails.exe.  It will prompt you to regenerate configuration file because the path has changed. Click <strong>OK</strong>.</p>
<p style="text-align: center;"><img class="aligncenter size-full wp-image-70" title="changepathprompt" src="http://www.sucklessatrails.com/wp-content/uploads/2009/02/changepathprompt.png" alt="changepathprompt" width="527" height="118" /></p>
<p>If you are using Windows XP SP2 or grater you will now see a firewall prompt asking if you would like to unblock apachy. Click <strong>Unblock</strong>.</p>
<p>Now you should see the Instant Rails control panel with everything running ok and services started. You may have to restart Instant Rails once to get MySQL started.</p>
<p><img class="aligncenter size-full wp-image-71" title="instantrails" src="http://www.sucklessatrails.com/wp-content/uploads/2009/02/instantrails.png" alt="instantrails" width="429" height="181" /></p>
<p>Lastly we have to update Ruby and Gems. To do this we have to open up a ruby console window (<strong>Click the I icon</strong> -&gt; <strong>Rails Applications</strong> -&gt; <strong>Open Ruby Console Window</strong>)</p>
<p><img class="aligncenter size-full wp-image-72" title="openrubyconsole" src="http://www.sucklessatrails.com/wp-content/uploads/2009/02/openrubyconsole.png" alt="openrubyconsole" width="429" height="197" /></p>
<p>In this window type:</p>
<blockquote><p>gem update &#8211;system</p></blockquote>
<p style="text-align: center;"><img class="aligncenter size-full wp-image-73" title="gemupdatesystem" src="http://www.sucklessatrails.com/wp-content/uploads/2009/02/gemupdatesystem.png" alt="gemupdatesystem" width="541" height="268" /></p>
<p>Again this may take a little bit. It may even look as if the system is hanging, but don&#8217;t worry it getting updating.</p>
<p>Once this is done type:</p>
<blockquote><p>gem update</p></blockquote>
<p style="text-align: center;"><img class="aligncenter size-full wp-image-74" title="gemupdate" src="http://www.sucklessatrails.com/wp-content/uploads/2009/02/gemupdate.png" alt="gemupdate" width="541" height="268" /></p>
<p>Congratulations you are all set up and ready to start coding some Ruby on Rails!</p>
<p>In Part 2 of the series we will be looking at how we can set up an advanced Ruby on Rails development environment in Windows.</p>
<p style="text-align: center;"><small><a title="Attribution License" href="http://creativecommons.org/licenses/by/2.0/" target="_blank"><img src="http://www.sucklessatrails.com/wp-content/plugins/photo-dropper/images/cc.png" border="0" alt="Creative Commons License" width="16" height="16" align="absmiddle" /></a> photo credit: <a title="ChrisGoldNY" href="http://www.flickr.com/photos/34325628@N05/3307855724/" target="_blank">ChrisGoldNY</a></small></p>
]]></content:encoded>
			<wfw:commentRss>http://www.sucklessatrails.com/2009/02/ruby-on-rails-installation-tutorial-part-1-installing-rails-20-on-windows-easy-setup/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>In The Begining…</title>
		<link>http://www.sucklessatrails.com/2009/02/in-the-begining/</link>
		<comments>http://www.sucklessatrails.com/2009/02/in-the-begining/#comments</comments>
		<pubDate>Thu, 26 Feb 2009 07:31:59 +0000</pubDate>
		<dc:creator>Daniel</dc:creator>
				<category><![CDATA[Housekeeping]]></category>

		<guid isPermaLink="false">http://www.sucklessatrails.com/?p=3</guid>
		<description><![CDATA[This site will be dedicated to making you better at Ruby on Rails and its many facets. Sign up for an account, subscribe to our feed and come along with us for the ride that is sucking less at rails. photo credit: FALHakaFalLin]]></description>
			<content:encoded><![CDATA[<p>This site will be dedicated to making you better at Ruby on Rails and its many facets.</p>
<p>Sign up for an account, subscribe to our feed and come along with us for the ride that is sucking less at rails.</p>
<p style="text-align: center;"><small><a title="Attribution-ShareAlike License" href="http://creativecommons.org/licenses/by-sa/2.0/" target="_blank"><img src="http://www.sucklessatrails.com/wp-content/plugins/photo-dropper/images/cc.png" border="0" alt="Creative Commons License" width="16" height="16" align="absmiddle" /></a> photo credit: <a title="FALHakaFalLin" href="http://www.flickr.com/photos/23431242@N06/3304713930/" target="_blank">FALHakaFalLin</a></small></p>
]]></content:encoded>
			<wfw:commentRss>http://www.sucklessatrails.com/2009/02/in-the-begining/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
