<?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 Matchbox &#187; Rails</title>
	<atom:link href="http://www.setfiremedia.com/blog/category/development/rails/feed" rel="self" type="application/rss+xml" />
	<link>http://www.setfiremedia.com/blog</link>
	<description>Hot ideas for the web.</description>
	<lastBuildDate>Thu, 15 Apr 2010 15:30:03 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.1</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Running Cucumber Tasks Through Selenium on Internet Explorer</title>
		<link>http://www.setfiremedia.com/blog/running-cucumber-tasks-through-selenium-on-internet-explorer</link>
		<comments>http://www.setfiremedia.com/blog/running-cucumber-tasks-through-selenium-on-internet-explorer#comments</comments>
		<pubDate>Wed, 07 Oct 2009 16:24:59 +0000</pubDate>
		<dc:creator>John Main</dc:creator>
				<category><![CDATA[Development]]></category>
		<category><![CDATA[Rails]]></category>

		<guid isPermaLink="false">http://www.setfiremedia.com/blog/?p=307</guid>
		<description><![CDATA[We all need to test our code on Internet Explorer and when set up correctly, this can be the best way.
I&#8217;m not going to go over installing Ruby, MySQL (you need version 5.0), Apache etc as there are a million and one tutorials out there. I will mention however that you can save yourself some [...]]]></description>
			<content:encoded><![CDATA[<p>We all need to test our code on Internet Explorer and when set up correctly, this can be the best way.</p>
<p>I&#8217;m not going to go over installing Ruby, MySQL (you need version 5.0), Apache etc as there are a million and one tutorials out there. I will mention however that you can save yourself some time by simply connecting to your development server (remember, you will need to open up your SQL server for remote access). I&#8217;m also not going to go over setting up selenium profiles as I&#8217;m assuming you&#8217;ve already got your tests running under a *nix environment.</p>
<p>Now once you&#8217;ve got your applications installed and checked out a copy of your code you need to make sure you have the right gems &#8211; exactly the same set as you needed on your development server, although I would also recommend win32console as it will give you the text colouring on your test output (and also randomly remove all of the letter As. No, really!).</p>
<p>Now comes the fun part. There are a series of hacks you need to do to Ruby and its gems to get them working under Windows:</p>
<ul>
<li>Install MySQL 5.0 if you haven&#8217;t already and copy libmySQL.dll from the MySQL bin folder to the Ruby bin folder, overwriting the default version.</li>
<li>Change any reference to IP &#8216;0.0.0.0&#8242; to &#8216;127.0.0.1&#8242; in the webrat gem. This is needed because Windows will not view &#8216;0.0.0.0&#8242; as localhost.</li>
<li>Add &#8217;start&#8217; before the &#8216;mongrel_rails&#8217; command in the &#8217;start_command&#8217; function in &#8216;\selenium\application_servers\rails.rb&#8217;. This will cause the mongrel server to be run in a new console window which is needed because the mongrel *nix detach flag does not work in a Windows console.</li>
<li>Add &#8216;-interactive -forcedBrowserMode iexplore&#8217; to the start command in &#8216;\lib\selenium\remote_control\remote_control.rb&#8217;.</li>
<li>Increase your timeouts
<ul>
<li>Add &#8216;config.selenium_browser_startup_timeout = 50&#8242; to your selenium profile.</li>
<li>Timeouts also defined in &#8216;\selenium\selenium_rc_server.rb</li>
</ul>
</li>
<li>Make sure you have your browser set correctly in your selenium profile with the correct path. Something along the lines of:
<ul>
<li>config.selenium_browser_key = &#8216;*iexplore C:\Program files\Internet Explorer\ie.exe&#8217;</li>
</ul>
</li>
</ul>
<p>Then run your tests and you should find your tests running quite happily.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.setfiremedia.com/blog/running-cucumber-tasks-through-selenium-on-internet-explorer/feed</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Capistrano Continues With Help From Setfire Developer</title>
		<link>http://www.setfiremedia.com/blog/capistrano-continues-with-help-from-setfire-developer</link>
		<comments>http://www.setfiremedia.com/blog/capistrano-continues-with-help-from-setfire-developer#comments</comments>
		<pubDate>Wed, 04 Mar 2009 14:24:53 +0000</pubDate>
		<dc:creator>Sam Sutton</dc:creator>
				<category><![CDATA[Development]]></category>
		<category><![CDATA[Programming Techniques]]></category>
		<category><![CDATA[Rails]]></category>
		<category><![CDATA[Setfire Media]]></category>
		<category><![CDATA[capistrano]]></category>
		<category><![CDATA[programming]]></category>

		<guid isPermaLink="false">http://www.setfiremedia.com/blog/?p=172</guid>
		<description><![CDATA[
]]></description>
			<content:encoded><![CDATA[<p><img class="alignnone size-full wp-image-183" title="logo-big" src="http://www.setfiremedia.com/blog/wp-content/uploads/2009/03/logo-big.png" alt="logo-big" width="460" height="175" /></p>
<p>We&#8217;re proud to announce that as of today one of our developers, <a href="http://lee.hambley.name/">Lee Hambley</a> has taken over maintenance of <a href="http://www.capify.org/">capify.org</a>. For many people involved in Ruby on Rails development, Capistrano is a vital tool, making the whole process of maintaining production environments that much simpler, by automating and combining many of the more laborious and repetitive tasks involved.</p>
<p><span id="more-172"></span></p>
<p>Having been an active member of the user group for sometime, when Lee heard the <a href="http://weblog.jamisbuck.org/2009/2/25/net-ssh-capistrano-and-saying-goodbye">sad news</a> that original developer Jamis Buck had to give up maintenance of the project, he offered to take it on.</p>
<blockquote><p>I&#8217;m really excited about working with the other contributors to maintain and improve Capistrano and it&#8217;s documentation, watching the project gain speed now the code is a little bit more free is going to be awesome. &#8211; Lee</p></blockquote>
<p>He will be hosting and maintaining the Capify.org site, as well as consolidating and hopefully coordinating new developments to the gem when a new code maintainer is selected.  Find out more about Capistrano by <a href="http://www.capify.org/">visiting capify.org</a>, or the <a href="http://groups.google.com/group/capistrano">Capistrano google group</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.setfiremedia.com/blog/capistrano-continues-with-help-from-setfire-developer/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
