<?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>Ian McShane &#187; ruby</title>
	<atom:link href="http://www.ianmcshane.org/tag/ruby/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.ianmcshane.org</link>
	<description>All my stuff in one place</description>
	<lastBuildDate>Sun, 14 Mar 2010 00:11:28 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Versioning a web development project</title>
		<link>http://www.ianmcshane.org/2007/02/14/versioning-a-web-development-project/</link>
		<comments>http://www.ianmcshane.org/2007/02/14/versioning-a-web-development-project/#comments</comments>
		<pubDate>Wed, 14 Feb 2007 12:07:12 +0000</pubDate>
		<dc:creator>Ian</dc:creator>
				<category><![CDATA[Development]]></category>
		<category><![CDATA[Dreamhost]]></category>
		<category><![CDATA[rails]]></category>
		<category><![CDATA[ruby]]></category>
		<category><![CDATA[SVN]]></category>
		<category><![CDATA[Trac]]></category>

		<guid isPermaLink="false">http://blog.maccarocks.com/2007/02/14/versioning-a-web-development-project/</guid>
		<description><![CDATA[This week, i&#8217;ve been trying to get my head around workflow using SVN.
As i&#8217;ve mentioned before, i have a Ruby/Rails project on the go at the moment and at the start I decided to use SVN for version control &#8211; Mostly because DreamHost provide SVN as a one-click-setup job.
Here is a list of what I [...]


Related posts:<ol><li><a href='http://www.ianmcshane.org/2007/12/22/project-euler/' rel='bookmark' title='Permanent Link: Project Euler'>Project Euler</a></li>
</ol>]]></description>
			<content:encoded><![CDATA[<p>This week, i&#8217;ve been trying to get my head around workflow using <a href="http://subversion.tigris.org/" target="_blank">SVN</a>.<br />
As i&#8217;ve mentioned before, i have a Ruby/Rails project on the go at the moment and at the start I decided to use SVN for version control &#8211; Mostly because DreamHost provide SVN as a one-click-setup job.<br />
Here is a list of what I wanted to achieve, in order:</p>
<p>1.  Backup in case I lose my local working copy.<br />
2.  Automatic publishing to webserver.<br />
3.  A nice way to track changes throughout the project.<br />
4.  Be able to publish the changes dynamically to a webpage.</p>
<p>I use TortoiseSVN on my XP installation to manage my working copy.<br />
The first requirement was easy to achieve, so long as I check in regularly I have a nice shiny copy on the SVN server (obviously).<br />
The second was fairly simple.  I just checked out the latest version to the root directory for the webserver and run &#8220;SVN update&#8221; when I want to refresh it.</p>
<p>When I started, I didn&#8217;t really have much comprehension of source control from a developer perspective so I just had the root of the SVN repository as my working copy.<br />
I have since read up a bit, taking in the concept of trunk, branches and tags.<br />
Today I spent a couple of hours working out how my folder structure should be and moving everything around using TortoiseSVN to the following structure:</p>
<p><a href="http://u.r.l/ProjectName/trunk">http://U.R.L/ProjectName/trunk</a><br />
<a href="http://u.r.l/ProjectName/branches">http://U.R.L/ProjectName/branches</a><br />
<a href="http://u.r.l/ProjectName/tags">http://U.R.L/ProjectName/tags</a></p>
<p>I also changed the web version to use the latest release version using SVN switch %URL_TO_RELEASE_VERSION_IN_TAGS_FOLDER%.</p>
<p>My idea of the workflow is that I make changes to the working copy (a subfolder of branches, i.e /branches/0.1.x) and check in as required.<br />
Once I am happy with the changes, I transfer the changes to the /trunk/ version which can then be accessed via the web for any remote testing I may rope people into.<br />
Once the trunk version has been tested against I can go ahead and make a copy of that into the tags version as the next release, do a SVN switch in the web directory and all is done (along with any config changes to the app&#8217;s db of course).</p>
<p>I&#8217;m not sure if that is a &#8216;best practice&#8217; way of running an SVN linked project but it makes sense to me and would seem to work out in an environment where there was more than one developer working on it.</p>
<p>Like I said, it makes sense to me but maybe I have missed the point and made some fundemental error somewhere?<br />
For example, I still don&#8217;t get the &#8216;Patch&#8217; part of SVN, would it be possible to just update the web directory using a patch from the latest release rather than running SVN update?</p>
<p>I&#8217;ve also been looking been looking into a product called <a href="http://trac.edgewall.org/" target="_blank">Trac</a> which appears to be a good project management/defect tracking application,  anyone had any dealings with it?  From <a href="http://wiki.dreamhost.com/index.php/DreamTracInstall" target="_blank">research</a> it looks like a pain in the ass to install (to Dreamhost at least)</p>


<p>Related posts:<ol><li><a href='http://www.ianmcshane.org/2007/12/22/project-euler/' rel='bookmark' title='Permanent Link: Project Euler'>Project Euler</a></li>
</ol></p>]]></content:encoded>
			<wfw:commentRss>http://www.ianmcshane.org/2007/02/14/versioning-a-web-development-project/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Wii-ked</title>
		<link>http://www.ianmcshane.org/2007/01/08/wii-ked/</link>
		<comments>http://www.ianmcshane.org/2007/01/08/wii-ked/#comments</comments>
		<pubDate>Sun, 07 Jan 2007 23:57:54 +0000</pubDate>
		<dc:creator>Ian</dc:creator>
				<category><![CDATA[Development]]></category>
		<category><![CDATA[Wii]]></category>
		<category><![CDATA[Black Stone Cherry]]></category>
		<category><![CDATA[Macbook]]></category>
		<category><![CDATA[ruby]]></category>

		<guid isPermaLink="false">http://blog.maccarocks.com/2007/01/08/wii-ked/</guid>
		<description><![CDATA[This was my final week off before heading back to the office.  Having been off for 3 weeks and in the US for 3 weeks prior to that, i&#8217;m not keen!  On the brightside, I get my driving licence back at midnight on Thursday January 11.  However I have yet to get [...]


Related posts:<ol><li><a href='http://www.ianmcshane.org/2007/11/30/radrails-unable-to-detect-ruby-install-on-os-x-leopard/' rel='bookmark' title='Permanent Link: RadRails &#8211; Unable to detect ruby install on OS X Leopard'>RadRails &#8211; Unable to detect ruby install on OS X Leopard</a></li>
<li><a href='http://www.ianmcshane.org/2007/11/25/ruby-on-rails-mysql-mongrel-and-os-x-leopard/' rel='bookmark' title='Permanent Link: Ruby on Rails, mySQL, Mongrel and OS X Leopard'>Ruby on Rails, mySQL, Mongrel and OS X Leopard</a></li>
</ol>]]></description>
			<content:encoded><![CDATA[<p>This was my final week off before heading back to the office.  Having been off for 3 weeks and in the US for 3 weeks prior to that, i&#8217;m not keen!  On the brightside, I get my driving licence back at midnight on Thursday January 11.  However I have yet to get my car serviced and MOT&#8217;d &#8211; it&#8217;s been sat motionless for almost six months now <img src='http://www.ianmcshane.org/wp-includes/images/smilies/icon_sad.gif' alt=':(' class='wp-smiley' /> </p>
<p><a href="http://blog.maccarocks.com/wp-content/uploads/2007/01/wii_t.jpg" class="imagelink" title="Wii"><img src="http://blog.maccarocks.com/wp-content/uploads/2007/01/wii_t.thumbnail.jpg" id="image28" alt="Wii" height="93" /></a></p>
<p>After 3 weeks of searching Teh Internets and visiting game stores every couple of days or so, I finally managed to get hold of a Nintendo Wii.  I didn&#8217;t want one bad enough to start queing outside of stores early every morning so it was pretty lucky that a friend of mine managed to reserve one for me.<br />
<span id="more-29"></span>It&#8217;s pretty cool,  definately a lot of fun and I can see it being a great party game when there are a few more titles out and the accesories are readily available.  The system only comes with one set of controllers, the Wii-mote (right-hand side of the pick above) and a controller called the Nunchuck which connects up to the Wii-mote.  Incase you&#8217;ve been in a hole, these controllers are motion sensitive.  I&#8217;ve already seen the sharks on Ebay selling the accesories for almost double the price, fuckers.<br />
Anyway, WiiSports is fun -<br />
Tennis is a little annoying as, even if you are playing on your own you still play a doubles game but with you controlling two characters &#8211; the one nearest to the ball reacts to your &#8217;swinging&#8217; which can get frustrating if you are teeing up a sweet cross court forehand only for the chap infront to lummox it out..<br />
Baseball is extremely difficult, maybe I just need to give it more time as I either miss the ball completely or knock it out for a foul ball!!<br />
Golf is great, i&#8217;m looking forward to the Mario Golf franchise to come over to the Wii.<br />
Boxing is good fun, its more fun watching someone else play it though!<br />
Bowling is probably my favourite of the bunch, it reacts very well and it feels like a pretty good simulation of the real thing, you can spin the ball and everything!</p>
<p>The only other game I picked up is Zelda.  Now, people have been moaning that the Wii isn&#8217;t as powerfull as the 360 or the PS3 and they&#8217;re right, it isn&#8217;t.  That doesn&#8217;t mean games look like crap though, this has great 3D graphics and the usual amazing gameplay.  I managed to put in 3 hours of play on my first go with it, without even noticing the time going past.  Note to self, put clock above the TV.</p>
<p>I came quite close to buying a Macbook this week, the only thing that held me back was the upcoming MacWorld Expo this week.  I didn&#8217;t want to sp00ge out over a grand GBP only to find i&#8217;d missed out on something cool like <a href="http://globetheblog.blogspot.com/2007/01/apple-and-google-to-blog-globe.html" target="_blank">built-in GPS</a> or maybe HD-DVD.  I have decided to move to the Mac full time at home though.  I already have the Mac Mini running as a HD media server and have realised that I don&#8217;t really do anything MS centric on my own lappy any more.  Any C# is done on my work lappy and besides i&#8217;m thinking of canning that again and giving Ruby/Rails another whack.</p>
<p>Talking of Ruby, this free book is great &#8211; <a href="http://www.humblelittlerubybook.com/" target="_blank">Mr. Neighborly&#8217;s Humble Little Ruby Book</a> &#8211;  It gives a pretty decent intro to Ruby and also a good explanation of OOP.<br />
There are a bunch of links <a href="http://joelmoss.info/switchboard/blog/2129:My_journey_on_Rails" target="_blank">here</a> as well.</p>
<p>I&#8217;m still hooked on the <a href="http://www.last.fm/music/Black+Stone+Cherry" target="_blank">Black Stone Cherry</a> record.</p>
<p>Finally, I caught <a href="http://www.wickedthemusical.co.uk/" target="_blank">Wicked The Musical</a> in Londons West End this week.  Taglined &#8220;The untold story of the Witches of Oz&#8221;, it&#8217;s a really good show.</p>


<p>Related posts:<ol><li><a href='http://www.ianmcshane.org/2007/11/30/radrails-unable-to-detect-ruby-install-on-os-x-leopard/' rel='bookmark' title='Permanent Link: RadRails &#8211; Unable to detect ruby install on OS X Leopard'>RadRails &#8211; Unable to detect ruby install on OS X Leopard</a></li>
<li><a href='http://www.ianmcshane.org/2007/11/25/ruby-on-rails-mysql-mongrel-and-os-x-leopard/' rel='bookmark' title='Permanent Link: Ruby on Rails, mySQL, Mongrel and OS X Leopard'>Ruby on Rails, mySQL, Mongrel and OS X Leopard</a></li>
</ol></p>]]></content:encoded>
			<wfw:commentRss>http://www.ianmcshane.org/2007/01/08/wii-ked/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
