<?xml version="1.0" encoding="UTF-8"?><feed
  xmlns="http://www.w3.org/2005/Atom"
  xmlns:thr="http://purl.org/syndication/thread/1.0"
  xml:lang="en"
  xml:base="http://etagwerker.com/wp-atom.php"
  xmlns:georss="http://www.georss.org/georss" xmlns:geo="http://www.w3.org/2003/01/geo/wgs84_pos#"  >
	<title type="text">Tech Notes from the Trenches</title>
	<subtitle type="text">Posts about technology. [This is an archive.]</subtitle>

	<updated>2013-04-27T19:23:40Z</updated>

	<link rel="alternate" type="text/html" href="http://etagwerker.com" />
	<id>http://etagwerker.com/feed/atom/</id>
	<link rel="self" type="application/atom+xml" href="http://etagwerker.com/feed/atom/" />

	<generator uri="http://wordpress.com/">WordPress.com</generator>
<link rel="search" type="application/opensearchdescription+xml" href="http://etagwerker.com/osd.xml" title="Tech Notes from the Trenches" />
<link rel="search" type="application/opensearchdescription+xml" href="http://wordpress.com/opensearch.xml" title="WordPress.com" />
	<link rel='hub' href='http://etagwerker.com/?pushpress=hub' />
		<entry>
		<author>
			<name>etagwerker</name>
						<uri>http://www.ombushop.com</uri>
					</author>
		<title type="html"><![CDATA[The simplest way to install Ruby on Mac OS X Lion]]></title>
		<link rel="alternate" type="text/html" href="http://etagwerker.com/2012/02/23/the-simplest-way-to-install-ruby-on-mac-os-x-lion/" />
		<id>http://www.etagwerker.com/?p=1213</id>
		<updated>2013-04-27T19:21:31Z</updated>
		<published>2012-02-23T20:04:50Z</published>
		<category scheme="http://etagwerker.com" term="developer tools" /><category scheme="http://etagwerker.com" term="open source" /><category scheme="http://etagwerker.com" term="Ruby programming" /><category scheme="http://etagwerker.com" term="software engineering" /><category scheme="http://etagwerker.com" term="English Code" />		<summary type="html"><![CDATA[I've tried many things to install <strong>Ruby</strong> on <strong>Mac OS X 10.7.3</strong>. Way too many. This is the <strong>only way</strong> I found. 

<h2>Remove XCode</h2>
<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=etagwerker.com&#038;blog=5598682&#038;post=1213&#038;subd=etagwerker&#038;ref=&#038;feed=1" width="1" height="1" />]]></summary>
		<content type="html" xml:base="http://etagwerker.com/2012/02/23/the-simplest-way-to-install-ruby-on-mac-os-x-lion/"><![CDATA[<p>I&#8217;ve tried many things to install <strong>Ruby</strong> on <strong>Mac OS X 10.7.3</strong>. Way too many. This is the <strong>only way</strong> I found. </p>
<h2>Remove XCode</h2>
<p>Run this: </p>
<p>[cc lang="bash" width="700" line_numbers="false"]<br />
/Developer/Library/uninstall-devtools<br />
[/cc]</p>
<h2>Install <a href="https://github.com/kennethreitz/osx-gcc-installer" title="OS X GCC Installer" target="_blank">OS X GCC Installer</a></h2>
<p>Simply download and install. </p>
<h2>Install <a href="http://mxcl.github.com/homebrew/" title="Homebrew Package Manager" target="_blank">Homebrew</a></h2>
<p>Simply <a href="https://github.com/mxcl/homebrew/wiki/installation" title="Brew Install One Liner" target="_blank">run this one liner</a> in your Terminal. </p>
<h2>Install <a href="https://rvm.beginrescueend.com/rvm/install/" title="Ruby VM" target="_blank">RVM</a></h2>
<p>Simply run that one liner in your Terminal. </p>
<h2>Install Rubies</h2>
<p>Like this: </p>
<p>[cc lang="bash" width="700" line_numbers="false"]<br />
CC=/usr/bin/gcc-4.2 rvm install 1.9.2 &#8211;enable-shared<br />
[/cc]</p>
<p>I hope this helps. </p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/etagwerker.wordpress.com/1213/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/etagwerker.wordpress.com/1213/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=etagwerker.com&#038;blog=5598682&#038;post=1213&#038;subd=etagwerker&#038;ref=&#038;feed=1" width="1" height="1" />]]></content>
		<link rel="replies" type="text/html" href="http://etagwerker.com/2012/02/23/the-simplest-way-to-install-ruby-on-mac-os-x-lion/#comments" thr:count="0"/>
		<link rel="replies" type="application/atom+xml" href="http://etagwerker.com/2012/02/23/the-simplest-way-to-install-ruby-on-mac-os-x-lion/feed/atom/" thr:count="0"/>
		<thr:total>0</thr:total>
	</entry>
		<entry>
		<author>
			<name>etagwerker</name>
						<uri>http://www.ombushop.com</uri>
					</author>
		<title type="html"><![CDATA[Problem when installing mysql2 gem on Mac OS X 10.7 (Lion)]]></title>
		<link rel="alternate" type="text/html" href="http://etagwerker.com/2012/02/21/problem-when-installing-mysql2-gem-on-mac-os-x-10-7-lion/" />
		<id>http://www.etagwerker.com/?p=1205</id>
		<updated>2013-04-27T19:21:37Z</updated>
		<published>2012-02-21T14:16:17Z</published>
		<category scheme="http://etagwerker.com" term="open source" /><category scheme="http://etagwerker.com" term="programming" /><category scheme="http://etagwerker.com" term="MySQL" /><category scheme="http://etagwerker.com" term="ruby" /><category scheme="http://etagwerker.com" term="rubyisms" /><category scheme="http://etagwerker.com" term="software development" /><category scheme="http://etagwerker.com" term="unix consoles" />		<summary type="html"><![CDATA[I ran into this issue when trying to install the mysql2 gem on my Mac OS X 10.7 (Lion)


error: size of array ‘st_check_for_sizeof_st_index_t’ is negative
<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=etagwerker.com&#038;blog=5598682&#038;post=1206&#038;subd=etagwerker&#038;ref=&#038;feed=1" width="1" height="1" />]]></summary>
		<content type="html" xml:base="http://etagwerker.com/2012/02/21/problem-when-installing-mysql2-gem-on-mac-os-x-10-7-lion/"><![CDATA[<p>I ran into this issue when trying to install the <strong>mysql2</strong> gem on my <strong>Mac OS X 10.7</strong> (<strong>Lion</strong>)</p>
<p>[cc lang="bash" width="800" line_numbers="false"]<br />
Building native extensions.  This could take a while&#8230;<br />
ERROR:  Error installing mysql2:<br />
    ERROR: Failed to build gem native extension.</p>
<p>1.9.1/ruby/ruby.h:108: error: size of array ‘ruby_check_sizeof_long’ is negative<br />
/Users/etagwerker/.rvm/rubies/ruby-1.9.2-p180/include/ruby-1.9.1/ruby/ruby.h:112: error: size of array ‘ruby_check_sizeof_voidp’ is negative<br />
In file included from /Users/etagwerker/.rvm/rubies/ruby-1.9.2-p180/include/ruby-1.9.1/ruby/intern.h:29,<br />
                 from /Users/etagwerker/.rvm/rubies/ruby-1.9.2-p180/include/ruby-1.9.1/ruby/ruby.h:1327,<br />
                 from /Users/etagwerker/.rvm/rubies/ruby-1.9.2-p180/include/ruby-1.9.1/ruby.h:32,<br />
                 from ./mysql2_ext.h:4,<br />
                 from client.c:1:<br />
/Users/etagwerker/.rvm/rubies/ruby-1.9.2-p180/include/ruby-1.9.1/ruby/st.h:69: error: size of array ‘st_check_for_sizeof_st_index_t’ is negative<br />
[/cc]</p>
<p>Sadly, the only way to fix it is to <strong>uninstall</strong> and <strong>re-install</strong> your <a href="http://mysql.com/" title="MySQL">MySQL</a>. </p>
<p>You can follow <a href="http://www.petermac.com/installing-mysql-gem-on-osx-10-6/#" title="Installing MySQL Gem">these instructions</a>. </p>
<p>Before you do that, you should <strong>back up</strong> your /usr/local/mysql/data directory (which contains all your MySQL databases)</p>
<p>Even though that article is for <strong>10.6 </strong>it will still work for <strong>10.7</strong></p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/etagwerker.wordpress.com/1206/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/etagwerker.wordpress.com/1206/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=etagwerker.com&#038;blog=5598682&#038;post=1206&#038;subd=etagwerker&#038;ref=&#038;feed=1" width="1" height="1" />]]></content>
		<link rel="replies" type="text/html" href="http://etagwerker.com/2012/02/21/problem-when-installing-mysql2-gem-on-mac-os-x-10-7-lion/#comments" thr:count="0"/>
		<link rel="replies" type="application/atom+xml" href="http://etagwerker.com/2012/02/21/problem-when-installing-mysql2-gem-on-mac-os-x-10-7-lion/feed/atom/" thr:count="0"/>
		<thr:total>0</thr:total>
	</entry>
		<entry>
		<author>
			<name>etagwerker</name>
						<uri>http://www.ombushop.com</uri>
					</author>
		<title type="html"><![CDATA[How to work with Git submodules and Git for Mac]]></title>
		<link rel="alternate" type="text/html" href="http://etagwerker.com/2012/02/02/how-to-work-with-git-submodules-and-git-for-mac/" />
		<id>http://www.etagwerker.com/?p=1188</id>
		<updated>2013-04-27T19:21:43Z</updated>
		<published>2012-02-02T18:13:58Z</published>
		<category scheme="http://etagwerker.com" term="developer tools" /><category scheme="http://etagwerker.com" term="open source" /><category scheme="http://etagwerker.com" term="programming" /><category scheme="http://etagwerker.com" term="web programming" /><category scheme="http://etagwerker.com" term="nuby" /><category scheme="http://etagwerker.com" term="productivity tools" /><category scheme="http://etagwerker.com" term="software development" /><category scheme="http://etagwerker.com" term="unix consoles" />		<summary type="html"><![CDATA[As much as I love the new Github app (1.1.7) for Mac, it doesn't work with submodules. This has been confirmed by Github's tech support.

Hopefully they will graciously solve that problem soon. Until then, here is the workaround.
<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=etagwerker.com&#038;blog=5598682&#038;post=1188&#038;subd=etagwerker&#038;ref=&#038;feed=1" width="1" height="1" />]]></summary>
		<content type="html" xml:base="http://etagwerker.com/2012/02/02/how-to-work-with-git-submodules-and-git-for-mac/"><![CDATA[<p>As much as I love the new <a href="http://mac.github.com/" title="Github for Mac" target="_blank">Github app</a> (1.1.7) for Mac, it doesn&#8217;t work with submodules. This has been confirmed by Github&#8217;s tech support.</p>
<p>Hopefully they will graciously solve that problem soon. Until then, here is the <strong>workaround</strong>.</p>
<p>Whenever you <strong>modify anything</strong> in a submodule, you will need to <strong>commit it</strong> and <strong>push it</strong>:<br />
[cc lang="bash" width="700"]<br />
$ cd ~/your-project<br />
$ cd path/to/submodule<br />
$ git commit . -m &#8216;I changed X and Y because Z&#8217;<br />
$ git push<br />
$ cd ~/your-project<br />
[/cc]<br />
&nbsp;</p>
<p>Once you&#8217;ve done that, you can sync your main repository with Github for Mac.</p>
<p><strong>That&#8217;s it!</strong></p>
<p>For more information on Git, this is a useful page: <a href="http://cheat.errtheblog.com/s/git" title="Git Cheat" target="_blank">$ cheat git</a></p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/etagwerker.wordpress.com/1188/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/etagwerker.wordpress.com/1188/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=etagwerker.com&#038;blog=5598682&#038;post=1188&#038;subd=etagwerker&#038;ref=&#038;feed=1" width="1" height="1" />]]></content>
		<link rel="replies" type="text/html" href="http://etagwerker.com/2012/02/02/how-to-work-with-git-submodules-and-git-for-mac/#comments" thr:count="0"/>
		<link rel="replies" type="application/atom+xml" href="http://etagwerker.com/2012/02/02/how-to-work-with-git-submodules-and-git-for-mac/feed/atom/" thr:count="0"/>
		<thr:total>0</thr:total>
	</entry>
		<entry>
		<author>
			<name>etagwerker</name>
						<uri>http://www.ombushop.com</uri>
					</author>
		<title type="html"><![CDATA[Upgrading from Leopard to Lion the painful way]]></title>
		<link rel="alternate" type="text/html" href="http://etagwerker.com/2012/01/31/upgrading-from-leopard-to-lion-the-painful-way/" />
		<id>http://www.etagwerker.com/?p=1178</id>
		<updated>2013-04-27T19:21:50Z</updated>
		<published>2012-01-31T15:18:23Z</published>
		<category scheme="http://etagwerker.com" term="developer tools" /><category scheme="http://etagwerker.com" term="programming" /><category scheme="http://etagwerker.com" term="Ruby programming" /><category scheme="http://etagwerker.com" term="software engineering" /><category scheme="http://etagwerker.com" term="environments" /><category scheme="http://etagwerker.com" term="high-quality code" /><category scheme="http://etagwerker.com" term="nuby" /><category scheme="http://etagwerker.com" term="ruby" /><category scheme="http://etagwerker.com" term="rubyisms" /><category scheme="http://etagwerker.com" term="software development" /><category scheme="http://etagwerker.com" term="unix consoles" />		<summary type="html"><![CDATA[The painful way:

Backup with TimeMachine
Upgrade to Snow Leopard
Upgrade to Lion
Restore essential data from TimeMachine<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=etagwerker.com&#038;blog=5598682&#038;post=1178&#038;subd=etagwerker&#038;ref=&#038;feed=1" width="1" height="1" />]]></summary>
		<content type="html" xml:base="http://etagwerker.com/2012/01/31/upgrading-from-leopard-to-lion-the-painful-way/"><![CDATA[<p>The <strong>painful</strong> way:</p>
<ol>
<li><strong>Backup</strong> with TimeMachine</li>
<li>Upgrade to <strong>Snow Leopard</strong></li>
<li>Upgrade to <strong>Lion</strong></li>
<li><strong>Restore</strong> essential data from TimeMachine</li>
</ol>
<p>The <strong>faster</strong> way:</p>
<ol>
<li><strong>Backup</strong> with TimeMachine</li>
<li>Create a <strong>bootable Lion disk</strong></li>
<li><strong>Erase everything</strong></li>
<li><strong>Install</strong> over your current disk</li>
<li><strong>Restore</strong> from TimeMachine</li>
</ol>
<p>The painful way <strong>takes time</strong>. </p>
<p>Backing up 400GB takes time. </p>
<p><strong>Installing Snow Leopard</strong> takes time. </p>
<p><strong>Installing Lion</strong> takes time.</p>
<p>It&#8217;s painful because you should <strong>re-install MySQL Server</strong> and <a title="Recover MySQL databases from TimeMachine" href="http://suburbia.org.uk/blog/2009/05/08/173824.html" target="_blank">recover your databases from the TimeMachine</a> backup. </p>
<p>You will need to <strong>re-install PostgreSQL</strong>. Thankfully it&#8217;s just:<br />
[cc lang="bash" line_numbers="off"]<br />
  brew install postgres<br />
  initdb<br />
  createuser postgres<br />
[/cc]</p>
<p>It&#8217;s painful because you will have to <strong>re-install XCode</strong>. (or you&#8217;ll run into <a title="XCode, YU NO THERE?" href="https://github.com/mxcl/homebrew/issues/6496" target="_blank">an issue like this</a> trying to install git)</p>
<p>Installing XCode is <strong>not just</strong> installing it using the App Store, it&#8217;s also <strong>running Install XCode</strong>. Talk about mixed messages.</p>
<p>It&#8217;s painful because the version of <strong>gcc</strong> (LLVM based) won&#8217;t be the one you want. Thankfully there is <a title="OSX gcc Installer for Ruby" href="https://github.com/kennethreitz/osx-gcc-installer" target="_blank">a solution for that too</a>.</p>
<p>Finally you can install <a title="RVM" href="https://rvm.beginrescueend.com" target="_blank">RVM</a> and the <a title="Ruby" href="http://www.ruby-lang.org/en/" target="_blank">Ruby</a> versions you want (1.9.2 and 1.9.3 for me)</p>
<p>And you are <strong>all set</strong>.</p>
<p>&nbsp;</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/etagwerker.wordpress.com/1178/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/etagwerker.wordpress.com/1178/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=etagwerker.com&#038;blog=5598682&#038;post=1178&#038;subd=etagwerker&#038;ref=&#038;feed=1" width="1" height="1" />]]></content>
		<link rel="replies" type="text/html" href="http://etagwerker.com/2012/01/31/upgrading-from-leopard-to-lion-the-painful-way/#comments" thr:count="0"/>
		<link rel="replies" type="application/atom+xml" href="http://etagwerker.com/2012/01/31/upgrading-from-leopard-to-lion-the-painful-way/feed/atom/" thr:count="0"/>
		<thr:total>0</thr:total>
	</entry>
		<entry>
		<author>
			<name>etagwerker</name>
						<uri>http://www.ombushop.com</uri>
					</author>
		<title type="html"><![CDATA[Be careful with stub! in RSpec]]></title>
		<link rel="alternate" type="text/html" href="http://etagwerker.com/2012/01/18/be-careful-with-stub-in-rspec/" />
		<id>http://www.etagwerker.com/?p=1167</id>
		<updated>2013-04-27T19:21:58Z</updated>
		<published>2012-01-18T14:59:09Z</published>
		<category scheme="http://etagwerker.com" term="developer tools" /><category scheme="http://etagwerker.com" term="Ruby programming" /><category scheme="http://etagwerker.com" term="web programming" /><category scheme="http://etagwerker.com" term="nuby" /><category scheme="http://etagwerker.com" term="open source" /><category scheme="http://etagwerker.com" term="ruby" /><category scheme="http://etagwerker.com" term="rubyisms" />		<summary type="html"><![CDATA[First of all, you should be careful with any call to stub.

You probably want to use stub just to simulate a behavior, one that you don't want to test in your current test.

For example: You may want to use stub with a remote service, an API call.
<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=etagwerker.com&#038;blog=5598682&#038;post=1167&#038;subd=etagwerker&#038;ref=&#038;feed=1" width="1" height="1" />]]></summary>
		<content type="html" xml:base="http://etagwerker.com/2012/01/18/be-careful-with-stub-in-rspec/"><![CDATA[<p>First of all, you should be careful with <strong>any call</strong> to stub.</p>
<p>You probably want to use <strong>stub</strong> just to simulate a behavior, one that you don&#8217;t want to test in your current test.</p>
<p>For example: You may want to use stub with a <strong>remote service</strong>, an API call.</p>
<p>Also, the method is stub not stub! (<em>at least in RSpec 2.6.0</em>)</p>
<p>&nbsp;<br />
This <strong>will not work</strong> but <strong>will not fail</strong>. </p>
<p>[cc lang="ruby" width="820" line_numbers="false"]<br />
  # This won&#8217;t work<br />
  DineroMailIpn::Client.any_instance.stub!(<br />
    :consulta_pago).and_return(@response_with_pays)<br />
[/cc]</p>
<p>This is what you are looking for. </p>
<p>[cc lang="ruby" width="820" line_numbers="false"]<br />
  # This will work<br />
  DineroMailIpn::Client.any_instance.stub(<br />
    :consulta_pago).and_return(@response_with_pays)<br />
[/cc]</p>
<p>I don&#8217;t know exactly <em>why</em> stub! doesn&#8217;t fail, <strong>but it wasn&#8217;t doing what I was expecting</strong> (to actually stub that method and return the mock object I wanted)</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/etagwerker.wordpress.com/1167/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/etagwerker.wordpress.com/1167/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=etagwerker.com&#038;blog=5598682&#038;post=1167&#038;subd=etagwerker&#038;ref=&#038;feed=1" width="1" height="1" />]]></content>
		<link rel="replies" type="text/html" href="http://etagwerker.com/2012/01/18/be-careful-with-stub-in-rspec/#comments" thr:count="0"/>
		<link rel="replies" type="application/atom+xml" href="http://etagwerker.com/2012/01/18/be-careful-with-stub-in-rspec/feed/atom/" thr:count="0"/>
		<thr:total>0</thr:total>
	</entry>
		<entry>
		<author>
			<name>etagwerker</name>
						<uri>http://www.ombushop.com</uri>
					</author>
		<title type="html"><![CDATA[The best solution to this warning: Giving a path to render :action is deprecated.]]></title>
		<link rel="alternate" type="text/html" href="http://etagwerker.com/2012/01/05/the-best-solution-to-this-warning-giving-a-path-to-render-action-is-deprecated/" />
		<id>http://www.etagwerker.com/?p=1156</id>
		<updated>2013-04-27T19:22:03Z</updated>
		<published>2012-01-05T18:55:16Z</published>
		<category scheme="http://etagwerker.com" term="open source" /><category scheme="http://etagwerker.com" term="programming" /><category scheme="http://etagwerker.com" term="Ruby programming" /><category scheme="http://etagwerker.com" term="web programming" /><category scheme="http://etagwerker.com" term="high-quality code" /><category scheme="http://etagwerker.com" term="nuby" /><category scheme="http://etagwerker.com" term="rails" /><category scheme="http://etagwerker.com" term="ruby" /><category scheme="http://etagwerker.com" term="rubyisms" /><category scheme="http://etagwerker.com" term="web tips" />		<summary type="html"><![CDATA[I for one welcome this <strong>change</strong> and <strong>deprecation warning</strong>. <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=etagwerker.com&#038;blog=5598682&#038;post=1156&#038;subd=etagwerker&#038;ref=&#038;feed=1" width="1" height="1" />]]></summary>
		<content type="html" xml:base="http://etagwerker.com/2012/01/05/the-best-solution-to-this-warning-giving-a-path-to-render-action-is-deprecated/"><![CDATA[<p>I for one welcome this <strong>change</strong> and <strong>deprecation warning</strong>. It means that you should <strong>stop</strong> <strong>using</strong> this:</p>
<p>[cc lang="ruby" width="600" line_numbers="false"]<br />
render :action =&gt; :index<br />
[/cc]</p>
<p>And, if necessary, you should <strong>start using</strong> this:</p>
<p>[cc lang="ruby" width="600" line_numbers="false"]<br />
render :index<br />
[/cc]</p>
<p>The code is <strong>simpler</strong> and <strong>prettier</strong>. Don&#8217;t use <strong>render :template</strong>, unless you really need to.</p>
<p>If you use <strong>vim</strong>, you can use this search and replace string:</p>
<p>[cc lang="bash" width="600" line_numbers="false"]<br />
:%s/render :action =&gt; /render /g<br />
[/cc] </p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/etagwerker.wordpress.com/1156/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/etagwerker.wordpress.com/1156/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=etagwerker.com&#038;blog=5598682&#038;post=1156&#038;subd=etagwerker&#038;ref=&#038;feed=1" width="1" height="1" />]]></content>
		<link rel="replies" type="text/html" href="http://etagwerker.com/2012/01/05/the-best-solution-to-this-warning-giving-a-path-to-render-action-is-deprecated/#comments" thr:count="0"/>
		<link rel="replies" type="application/atom+xml" href="http://etagwerker.com/2012/01/05/the-best-solution-to-this-warning-giving-a-path-to-render-action-is-deprecated/feed/atom/" thr:count="0"/>
		<thr:total>0</thr:total>
	</entry>
		<entry>
		<author>
			<name>etagwerker</name>
						<uri>http://www.ombushop.com</uri>
					</author>
		<title type="html"><![CDATA[Por qué deberías usar `git pull &#8211;rebase` en vez de `git pull` solo]]></title>
		<link rel="alternate" type="text/html" href="http://etagwerker.com/2011/12/27/por-que-deberias-usar-git-pull-rebase-en-vez-de-git-pull-solo/" />
		<id>http://www.etagwerker.com/?p=1137</id>
		<updated>2013-04-27T19:22:11Z</updated>
		<published>2011-12-27T16:13:36Z</published>
		<category scheme="http://etagwerker.com" term="developer tools" /><category scheme="http://etagwerker.com" term="open source" /><category scheme="http://etagwerker.com" term="programming" /><category scheme="http://etagwerker.com" term="high-quality code" /><category scheme="http://etagwerker.com" term="high-quality IT solutions" /><category scheme="http://etagwerker.com" term="nuby" /><category scheme="http://etagwerker.com" term="unix consoles" />		<summary type="html"><![CDATA[<strong>git-merge</strong> nos genera un commit con <strong>todos los cambios</strong> entre el <strong>branch</strong> local y el <strong>branch</strong> que estamos bajando.
<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=etagwerker.com&#038;blog=5598682&#038;post=1137&#038;subd=etagwerker&#038;ref=&#038;feed=1" width="1" height="1" />]]></summary>
		<content type="html" xml:base="http://etagwerker.com/2011/12/27/por-que-deberias-usar-git-pull-rebase-en-vez-de-git-pull-solo/"><![CDATA[<p>Al usar<br />
[cc lang="bash" line_numbers="false"]<br />
  &#8220;git pull &#8211;rebase&#8221;<br />
[/cc]<br />
<strong>Git</strong> utiliza <strong>git-rebase</strong> en vez de <strong>git-merge</strong>.</p>
<p><strong>git-merge</strong> nos genera un commit con <strong>todos los cambios</strong> entre el <strong>branch</strong> local y el <strong>branch</strong> que estamos bajando.</p>
<p><strong>git-rebase</strong> va hacia atrás, hasta donde los branches <strong>divergieron</strong>, hace un <strong>reset</strong> y empieza a aplicar los cambios <strong>progresivamente</strong>, hasta llegar al último commit. Esto nos deja un log mucho <strong>más fácil de leer</strong> que con el commit generado por <strong>git-merge</strong>.</p>
<p>Así vamos a dejar de ver tantos:</p>
<p>[cc lang="bash" line_numbers="false" width="600"]<br />
  &#8220;Merge branch &#8216;master&#8217; of github.com:etagwerker/whuffiebank&#8221;<br />
[/cc]</p>
<p>Para más información: <a href="http://progit.org/book/es/ch3-6.html" title="git-rebase @ Pro Git" target="_blank">http://progit.org/book/es/ch3-6.html</a></p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/etagwerker.wordpress.com/1137/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/etagwerker.wordpress.com/1137/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=etagwerker.com&#038;blog=5598682&#038;post=1137&#038;subd=etagwerker&#038;ref=&#038;feed=1" width="1" height="1" />]]></content>
		<link rel="replies" type="text/html" href="http://etagwerker.com/2011/12/27/por-que-deberias-usar-git-pull-rebase-en-vez-de-git-pull-solo/#comments" thr:count="0"/>
		<link rel="replies" type="application/atom+xml" href="http://etagwerker.com/2011/12/27/por-que-deberias-usar-git-pull-rebase-en-vez-de-git-pull-solo/feed/atom/" thr:count="0"/>
		<thr:total>0</thr:total>
	</entry>
		<entry>
		<author>
			<name>etagwerker</name>
						<uri>http://www.ombushop.com</uri>
					</author>
		<title type="html"><![CDATA[Cómo usamos Pivotal Tracker en Ombu Shop]]></title>
		<link rel="alternate" type="text/html" href="http://etagwerker.com/2011/12/19/como-usamos-pivotal-tracker-en-ombu-shop/" />
		<id>http://www.etagwerker.com/?p=1121</id>
		<updated>2013-04-27T19:22:18Z</updated>
		<published>2011-12-19T12:48:39Z</published>
		<category scheme="http://etagwerker.com" term="developer tools" /><category scheme="http://etagwerker.com" term="entrepreneur life" /><category scheme="http://etagwerker.com" term="software engineering" /><category scheme="http://etagwerker.com" term="high-quality code" /><category scheme="http://etagwerker.com" term="high-quality IT solutions" /><category scheme="http://etagwerker.com" term="software development" />		<summary type="html"><![CDATA[Objetivo

Atender todas las tareas pendientes sin que se nos escape nada. En base a la velocidad del equipo, tener una idea de fechas de entrega de cada story.<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=etagwerker.com&#038;blog=5598682&#038;post=1121&#038;subd=etagwerker&#038;ref=&#038;feed=1" width="1" height="1" />]]></summary>
		<content type="html" xml:base="http://etagwerker.com/2011/12/19/como-usamos-pivotal-tracker-en-ombu-shop/"><![CDATA[<p>Este es el <em>workflow</em> que usamos en <a title="Tu Propia Tienda Virtual" href="http://www.ombushop.com/" target="_blank">Ombu Shop</a> para seguir las <em>stories</em> con <a title="Pivotal Tracker" href="http://pivotaltracker.com/" target="_blank">Pivotal Tracker</a>.</p>
<h2>Objetivo</h2>
<p>Atender todas las tareas pendientes sin que se nos escape nada. En base a la <em>velocidad</em> del equipo, tener una idea de fechas de entrega de cada <em>story</em>.</p>
<h2>Prioridades</h2>
<p>Se dividen por columnas. <em>Current</em> es más importante que <em>Backlog.</em> <em>Backlog</em> más importante que <em>Icebox</em>. Mientras más arriba en la columna se encuentre una <em>story</em> más prioridad tiene.</p>
<h2>1. Toda mejora, bug o tarea debe figurar como una <em>story</em> en Pivotal</h2>
<p><em>Bug</em>: Comportamiento inesperado del sistema. Un error según lo especificado por una <em>story</em> previo.</p>
<p><em>Requester</em>: La persona que pide la story. El <em>requester</em> es el que finalmente deberá aceptar la <em>story</em>.</p>
<p><em>Owner</em>: La persona indicada para resolver la <em>story</em>. El <em>requester</em> elige al <em>owner</em>.</p>
<h2>2. Antes de empezar, el <em>owner</em> debe estimar la tarea</h2>
<p>Para estimar se usan los palitos horizontales a la derecha de la <em>story</em>. Más palitos, más complicado. Los <em>bugs</em> <strong>no</strong> se estiman.</p>
<p>Ejemplo de una <em>story</em>:</p>
<p>
<a href="http://www.etagwerker.com/wp-content/uploads/2011/12/ejemplo-de-una-story1.png"><img class="aligncenter size-full wp-image-1131" title="Ejemplo de una Story en Pivotal Tracker" src="http://www.etagwerker.com/wp-content/uploads/2011/12/ejemplo-de-una-story1.png" alt="" width="455" height="49" /></a>
</p>
<h2>3. Una vez que el owner empieza debe darle <em>Start</em> a la tarea</h2>
<p>Esto sirve para calcular la <em>velocidad</em> de nuestro equipo.</p>
<h2>4. Una vez que termina debe darle <em>Finish</em></h2>
<p>Esto pondrá a la story lista para darle <em>Deliver</em>.</p>
<h2>5. Una vez que se sube a producción debe darle <em>Deliver</em></h2>
<p>Solo se le dá <em>Deliver</em> cuando está en producción.</p>
<h2>8. Recién ahí el <em>requester</em> debe darle <em>Accept</em> o <em>Reject</em></h2>
<p>El <em>requester</em> va a ser siempre el responsable de aceptar la <em>story</em>. Si uno le dá <em>Reject</em> hay que ser <strong>lo más claro</strong> y <strong>específico</strong> posible para decir por qué no se acepta.</p>
<p>Si la <em>story</em> fue aceptada y estaba relacionada con un cliente, avisarle. Eso queda a cargo del <em>requester</em></p>
<p>Si la <em>story</em> fue rechazada, el <em>owner</em> va a tener que darle <em>Restart</em> (Ver #3) una vez que vuelva a trabajar sobre la tarea.</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/etagwerker.wordpress.com/1121/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/etagwerker.wordpress.com/1121/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=etagwerker.com&#038;blog=5598682&#038;post=1121&#038;subd=etagwerker&#038;ref=&#038;feed=1" width="1" height="1" />]]></content>
		<link rel="replies" type="text/html" href="http://etagwerker.com/2011/12/19/como-usamos-pivotal-tracker-en-ombu-shop/#comments" thr:count="0"/>
		<link rel="replies" type="application/atom+xml" href="http://etagwerker.com/2011/12/19/como-usamos-pivotal-tracker-en-ombu-shop/feed/atom/" thr:count="0"/>
		<thr:total>0</thr:total>
	</entry>
		<entry>
		<author>
			<name>etagwerker</name>
						<uri>http://www.ombushop.com</uri>
					</author>
		<title type="html"><![CDATA[Rails 3.1 and PostgreSQL, &#8220;Please install the Postgres adapter&#8221; hell]]></title>
		<link rel="alternate" type="text/html" href="http://etagwerker.com/2011/12/07/rails-3-1-and-postgresql-please-install-the-postgres-adapter-hell/" />
		<id>http://www.etagwerker.com/?p=1113</id>
		<updated>2013-04-27T19:22:23Z</updated>
		<published>2011-12-07T23:07:44Z</published>
		<category scheme="http://etagwerker.com" term="Uncategorized" />		<summary type="html"><![CDATA[I just lost an hour with this error: [cc lang="ruby" width="700" nowrap="false"] Please install the postgres adapter: `gem install activerecord-postgres-adapter` (cannot load such file &#8212; active_record/connection_adapters/postgres_adapter) (RuntimeError) [/cc] I had to google a lot until I found the answer here, on Matt&#8217;s blog: &#8220;Please install the postgres adapter&#8221; As usual, it was a stupid mistake [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=etagwerker.com&#038;blog=5598682&#038;post=1113&#038;subd=etagwerker&#038;ref=&#038;feed=1" width="1" height="1" />]]></summary>
		<content type="html" xml:base="http://etagwerker.com/2011/12/07/rails-3-1-and-postgresql-please-install-the-postgres-adapter-hell/"><![CDATA[<p>I just lost an hour with this error:<br />
[cc lang="ruby" width="700" nowrap="false"]<br />
Please install the postgres adapter: `gem install activerecord-postgres-adapter` (cannot load such file &#8212; active_record/connection_adapters/postgres_adapter) (RuntimeError)<br />
[/cc]</p>
<p>I had to <strong>google</strong> a lot until I found the answer here, on Matt&#8217;s blog: <a href="http://www.mriddle.com/2011/06/05/please-install-the-postgres-adapter" title="Please install the postgres adapter" target="_blank">&#8220;Please install the postgres adapter&#8221;</a></p>
<p>As usual, it was a <strong>stupid mistake</strong> in the <em>database.yml</em>:</p>
<p>[cc lang="ruby" width="600"]<br />
development:<br />
  adapter: postgres<br />
  database: ombu_development<br />
  pool: 5<br />
  timeout: 5000<br />
[/cc]</p>
<p>The adapter is called &#8220;<strong>postgresql</strong>&#8221; not &#8220;<strong>postgres</strong>&#8221; </p>
<p>[cc lang="ruby" width="600"]<br />
development:<br />
  adapter: postgresql<br />
  database: ombu_development<br />
  pool: 5<br />
  timeout: 5000<br />
[/cc]</p>
<p>I hope this <strong>saves you time</strong>. </p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/etagwerker.wordpress.com/1113/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/etagwerker.wordpress.com/1113/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=etagwerker.com&#038;blog=5598682&#038;post=1113&#038;subd=etagwerker&#038;ref=&#038;feed=1" width="1" height="1" />]]></content>
		<link rel="replies" type="text/html" href="http://etagwerker.com/2011/12/07/rails-3-1-and-postgresql-please-install-the-postgres-adapter-hell/#comments" thr:count="0"/>
		<link rel="replies" type="application/atom+xml" href="http://etagwerker.com/2011/12/07/rails-3-1-and-postgresql-please-install-the-postgres-adapter-hell/feed/atom/" thr:count="0"/>
		<thr:total>0</thr:total>
	</entry>
		<entry>
		<author>
			<name>etagwerker</name>
						<uri>http://www.ombushop.com</uri>
					</author>
		<title type="html"><![CDATA[Yet another good reason to keep a gemset per project]]></title>
		<link rel="alternate" type="text/html" href="http://etagwerker.com/2011/12/05/yet-another-good-reason-to-keep-a-gemset-per-project/" />
		<id>http://www.etagwerker.com/?p=1109</id>
		<updated>2013-04-27T19:22:27Z</updated>
		<published>2011-12-05T14:22:37Z</published>
		<category scheme="http://etagwerker.com" term="open source" /><category scheme="http://etagwerker.com" term="programming" /><category scheme="http://etagwerker.com" term="Ruby programming" /><category scheme="http://etagwerker.com" term="software engineering" /><category scheme="http://etagwerker.com" term="nuby" /><category scheme="http://etagwerker.com" term="rails" /><category scheme="http://etagwerker.com" term="ruby" /><category scheme="http://etagwerker.com" term="rubyisms" /><category scheme="http://etagwerker.com" term="unix consoles" />		<summary type="html"><![CDATA[So, if you still keep all your gems in 'system', you should seriously consider switching to rvm gemsets per project. <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=etagwerker.com&#038;blog=5598682&#038;post=1109&#038;subd=etagwerker&#038;ref=&#038;feed=1" width="1" height="1" />]]></summary>
		<content type="html" xml:base="http://etagwerker.com/2011/12/05/yet-another-good-reason-to-keep-a-gemset-per-project/"><![CDATA[<p>I <strong>love</strong> <a title="Ruby Version Manager" href="https://rvm.beginrescueend.com/" target="_blank">rvm</a>. It lets you keep your gems organized per project. The combination of <strong>.rvmrc</strong> and <strong>gemset</strong> is great for <strong>keeping things organized</strong>.</p>
<p>Yet another good reason is <strong>performance</strong>! (From @tenderlove&#8217;s <a title="Gems and Rails load time" href="http://tenderlovemaking.com/2011/11/30/psa-the-number-of-gems-installed-on-your-system-can-impact-rails-boot-time/" target="_blank">blog post</a>)</p>
<p>So, if you still keep all your gems in &#8216;system&#8217;, you should <strong>seriously</strong> consider switching to <strong>rvm gemsets</strong> per project.</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/etagwerker.wordpress.com/1109/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/etagwerker.wordpress.com/1109/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=etagwerker.com&#038;blog=5598682&#038;post=1109&#038;subd=etagwerker&#038;ref=&#038;feed=1" width="1" height="1" />]]></content>
		<link rel="replies" type="text/html" href="http://etagwerker.com/2011/12/05/yet-another-good-reason-to-keep-a-gemset-per-project/#comments" thr:count="0"/>
		<link rel="replies" type="application/atom+xml" href="http://etagwerker.com/2011/12/05/yet-another-good-reason-to-keep-a-gemset-per-project/feed/atom/" thr:count="0"/>
		<thr:total>0</thr:total>
	</entry>
	</feed>
