<?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"
	>

<channel>
	<title>pggbee</title>
	<atom:link href="http://pggbee.com/feed/" rel="self" type="application/rss+xml" />
	<link>http://pggbee.com</link>
	<description>a pig-bee writing code from the bushes</description>
	<pubDate>Sat, 14 Jun 2008 03:54:18 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.5.1</generator>
	<language>en</language>
			<item>
		<title>RspecAbandoner version 0.1 has been released!</title>
		<link>http://pggbee.com/rspecabandoner-version-01-has-been-released/</link>
		<comments>http://pggbee.com/rspecabandoner-version-01-has-been-released/#comments</comments>
		<pubDate>Fri, 13 Jun 2008 17:46:59 +0000</pubDate>
		<dc:creator>mig</dc:creator>
		
		<category><![CDATA[Ruby]]></category>

		<guid isPermaLink="false">http://pggbee.com/rspecabandoner-version-01-has-been-released/</guid>
		<description><![CDATA[This is a script, that when run inside of your project, will convert your RSpec specs to Test::Unit tests.
It still needs some serious work, right now it creates a bunch of obnoxious files in your spec directories, I will change that soon.
I borrowed code from spec_converter and inspiration from Barbara Boxer
Changes:

0.1 / 2008-06-13



Initial release

]]></description>
			<content:encoded><![CDATA[<p>This is a script, that when run inside of your project, will convert your RSpec specs to Test::Unit tests.</p>
<p>It still needs some serious work, right now it creates a bunch of obnoxious files in your spec directories, I will change that soon.</p>
<p>I borrowed code from <a href="http://opensource.thinkrelevance.com/wiki/spec_converter">spec_converter</a> and inspiration from <a href="http://www.barbaraboxer.com/home">Barbara Boxer</a></p>
<p>Changes:</p>
<ol>
<li>0.1 / 2008-06-13</li>
</ol>
</li>
<ul>
<li>Initial release</li>
</ul>
]]></content:encoded>
			<wfw:commentRss>http://pggbee.com/rspecabandoner-version-01-has-been-released/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Installing Ruby 1.8.7 on Leopard (Mac OS X 10.5)</title>
		<link>http://pggbee.com/installing-ruby-187-on-leopard-mac-os-x-105/</link>
		<comments>http://pggbee.com/installing-ruby-187-on-leopard-mac-os-x-105/#comments</comments>
		<pubDate>Thu, 12 Jun 2008 04:22:29 +0000</pubDate>
		<dc:creator>mig</dc:creator>
		
		<category><![CDATA[Mac]]></category>

		<category><![CDATA[OSX]]></category>

		<category><![CDATA[Ruby]]></category>

		<guid isPermaLink="false">http://pggbee.com/installing-ruby-187-on-leopard-mac-os-x-105/</guid>
		<description><![CDATA[The new ruby has some interesting new features, and I am hot to try them out.  I&#8217;ve got Leopard installed, which comes with ruby 1.8.6, so I guess we could replace that.  However, it&#8217;s generally a good idea to leave that stuff be.
So, I am going to installed it somewhere else.  The [...]]]></description>
			<content:encoded><![CDATA[<p>The new <a href="http://ruby-lang.org">ruby</a> has some interesting new features, and I am hot to try them out.  I&#8217;ve got Leopard installed, which comes with ruby 1.8.6, so I guess we could replace that.  However, it&#8217;s generally a good idea to leave that stuff be.</p>
<p>So, I am going to installed it somewhere else.  The ruby that comes with Leopard is installed in /usr/bin</p>
<pre>  which ruby</pre>
<p>
I am going to put my new 1.8.7 in /usr/local/bin</p>
<p>First I downloaded it: <a href="ftp://ftp.ruby-lang.org/pub/ruby/1.8/ruby-1.8.7.tar.gz">ruby-1.8.7.tar.gz</a></p>
<p>Then, I opened up my terminal and:</p>
<pre>  mv ~/Downloads/ruby-1.8.7.tar.gz ~/src &#38;amp;&#38;amp; cd ~/src
  tar xvzf ruby-1.8.7.tar.gz
  cd ruby-1.8.7
  ./configure --enable-shared --enable-pthread --prefix=/usr/local
  make
  make test
  sudo make install</pre>
<p>
Make sure /usr/local/bin is at the begining of your <span class="caps">PATH</span> environment variable.  You can now play around with ruby 1.8.7!  You will most likely want to reinstall rubygems in /usr/local as well.</p>
]]></content:encoded>
			<wfw:commentRss>http://pggbee.com/installing-ruby-187-on-leopard-mac-os-x-105/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Using Erubis in Rails</title>
		<link>http://pggbee.com/using-erubis-in-rails/</link>
		<comments>http://pggbee.com/using-erubis-in-rails/#comments</comments>
		<pubDate>Wed, 07 May 2008 14:05:08 +0000</pubDate>
		<dc:creator>mig</dc:creator>
		
		<category><![CDATA[Rails]]></category>

		<category><![CDATA[Ruby]]></category>

		<guid isPermaLink="false">http://pggbee.com/using-erubis-in-rails/</guid>
		<description><![CDATA[Swapping out ERB for Erubis in a rails application is dead easy:
Install the gem:

  gem i erubis


Require it:

  # config/environment.rb
  require &#39;erubis/helpers/rails_helper&#39;

Preprocessing is awesome:

  # config/environment.rb
  require &#39;erubis/helpers/rails_helper&#39;
  Erubis::Helpers::RailsHelper.preprocessing = true

With that, you can use [%=  %] inside your views instead of &#60;%= %&#62;.  So doing this&#8230;

 [...]]]></description>
			<content:encoded><![CDATA[<p>Swapping out <span class="caps">ERB</span> for Erubis in a rails application is dead easy:</p>
<p>Install the gem:</p>
<pre>
  gem i erubis
</pre>
</p>
<p>Require it:</p>
<pre>
  # config/environment.rb
  require &#39;erubis/helpers/rails_helper&#39;
</pre>
<p>Preprocessing is awesome:</p>
<pre>
  # config/environment.rb
  require &#39;erubis/helpers/rails_helper&#39;
  Erubis::Helpers::RailsHelper.preprocessing = true
</pre>
<p>With that, you can use <code>[%=  %]</code> inside your views instead of <code>&#60;%= %&#62;</code>.  So doing this&#8230;</p>
<pre>
  [%= link_to &#34;New Post&#34;, new_article_path %]
</pre>
<p>&#8230;will process the link_to when the template is <em>loaded</em>.  However, when it comes time to render, what is being rendered is something more like this:</p>
<pre>
  &#60;a href=&#34;/articles/new&#34;&#62;New Post&#60;/a&#62;
</pre>
<p>Which loads a lot faster than the ruby.</p>
<p>You can also preprocess enumerable statements, this is especially useful for something like this:</p>
<pre>
  [% Category.find(:all).each do |c| %]
    &#60;li&#62;[%= link_to c.name, category_path(c) %]&#60;/li&#62;
  [% end %]
</pre>
</p>
<p>Very intense.</p>
]]></content:encoded>
			<wfw:commentRss>http://pggbee.com/using-erubis-in-rails/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Follow Rails Patches</title>
		<link>http://pggbee.com/follow-rails-patches/</link>
		<comments>http://pggbee.com/follow-rails-patches/#comments</comments>
		<pubDate>Mon, 28 Apr 2008 22:43:52 +0000</pubDate>
		<dc:creator>mig</dc:creator>
		
		<category><![CDATA[Rails]]></category>

		<guid isPermaLink="false">http://pggbee.com/2008/04/28/follow-rails-patches/</guid>
		<description><![CDATA[Now that the Rails team has moved to using Lighthouse for bug, feature, and patch tracking, it’s a lot easier (and more fun) to track the patches coming in.
Just point your rss reader to: http://rails.lighthouseapp.com/projects/8994-ruby-on-rails/events.atom and watch the action! I know that ton’s of people followed development when they were using Trac, it just wasn’t [...]]]></description>
			<content:encoded><![CDATA[<p>Now that the <a href="http://www.rubyonrails.org">Rails</a> team has moved to using <a href="http://rails.lighthouseapp.com">Lighthouse</a> for bug, feature, and patch tracking, it’s a lot easier (and more fun) to track the patches coming in.</p>
<p>Just point your rss reader to: http://rails.lighthouseapp.com/projects/8994-ruby-on-rails/events.atom and watch the action! I know that ton’s of people followed development when they were using <a href="http://trac.edgewall.org/">Trac</a>, it just wasn’t as nice.</p>
]]></content:encoded>
			<wfw:commentRss>http://pggbee.com/follow-rails-patches/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Emacs Key Navigation in Gedit</title>
		<link>http://pggbee.com/emacs-key-navigation-in-gedit/</link>
		<comments>http://pggbee.com/emacs-key-navigation-in-gedit/#comments</comments>
		<pubDate>Mon, 17 Mar 2008 11:10:38 +0000</pubDate>
		<dc:creator>mig</dc:creator>
		
		<category><![CDATA[Gedit]]></category>

		<category><![CDATA[Gnome]]></category>

		<guid isPermaLink="false">http://pggbee.com/2008/04/28/emacs-key-navigation-in-gedit/</guid>
		<description><![CDATA[It’s a lot easier for me to hit ctrl-f than the right arrow key.  Especially since I use my caps-lock as a ctrl key.  These are Emacs navigation key combinations, and I can’t really work without them.  TextMate has them built-in which is wonderful, Gedit on the other hand does not.
However, you [...]]]></description>
			<content:encoded><![CDATA[<p>It’s a lot easier for me to hit <strong>ctrl-f</strong> than the right arrow key.  Especially since I use my <strong>caps-lock</strong> as a <strong>ctrl</strong> key.  These are Emacs navigation key combinations, and I can’t really work without them.  TextMate has them built-in which is wonderful, <a href="http://www.gnome.org/projects/gedit/">Gedit</a> on the other hand does not.</p>
<p>However, you can dig into your gconf settings and specify a &#8220;gtk key theme&#8221; other than the default one.  You can specify emacs!  Doing so, will allow you to use key combo’s like <strong>ctrl-f</strong> in Gedit and other Gtk applications. </p>
<p>Set the value of:</p>
<pre>
/desktop/gnome/interface/gtk_key_theme
</pre>
</p>
<p>To:</p>
<pre>
Emacs
</pre></p>
]]></content:encoded>
			<wfw:commentRss>http://pggbee.com/emacs-key-navigation-in-gedit/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Gedit Rails Development Pack</title>
		<link>http://pggbee.com/gedit-rails-development-pack/</link>
		<comments>http://pggbee.com/gedit-rails-development-pack/#comments</comments>
		<pubDate>Mon, 03 Mar 2008 19:05:56 +0000</pubDate>
		<dc:creator>mig</dc:creator>
		
		<category><![CDATA[Gedit]]></category>

		<category><![CDATA[Gnome]]></category>

		<category><![CDATA[Rails]]></category>

		<guid isPermaLink="false">http://pggbee.com/2008/04/28/gedit-rails-development-pack/</guid>
		<description><![CDATA[I&#8217;ve put together a couple of Gedit plugins and snippets that will help your developing rails projects in Gnome.
Download gedit-rails at github.
This package includes a script that will register ERB templates and YAML files with gtksourceview. That means that you will get some nice syntax highlighting! Enjoy!
]]></description>
			<content:encoded><![CDATA[<p>I&#8217;ve put together a couple of <a href="http://www.gnome.org/projects/gedit/">Gedit</a> plugins and snippets that will help your developing rails projects in <a href="http://gnome.org">Gnome</a>.</p>
<p>Download <a href="http://github.com/mig/gedit-rails">gedit-rails</a> at github.</p>
<p>This package includes a script that will register <span class="caps">ERB</span> templates and <span class="caps">YAML</span> files with <a href="http://live.gnome.org/GtkSourceView">gtksourceview</a>. That means that you will get some nice syntax highlighting! Enjoy!</p>
]]></content:encoded>
			<wfw:commentRss>http://pggbee.com/gedit-rails-development-pack/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Pastie Textmate Theme</title>
		<link>http://pggbee.com/pastie-textmate-theme/</link>
		<comments>http://pggbee.com/pastie-textmate-theme/#comments</comments>
		<pubDate>Sat, 23 Feb 2008 10:09:29 +0000</pubDate>
		<dc:creator>mig</dc:creator>
		
		<category><![CDATA[TextMate]]></category>

		<category><![CDATA[Themes]]></category>

		<guid isPermaLink="false">http://pggbee.com/2008/04/28/pastie-textmate-theme/</guid>
		<description><![CDATA[I like the default color scheme for syntax highlighting at Pastie, so I decided to make a TextMate theme using the same colors.  It’s not perfect, but it’s close!
You can download it as part of my custom TextMate theme repository on github.  If you don’t have git installed, just hit the download link [...]]]></description>
			<content:encoded><![CDATA[<p>I like the default color scheme for syntax highlighting at <a href="http://pastie.caboo.se">Pastie</a>, so I decided to make a TextMate theme using the same colors.  It’s not perfect, but it’s close!</p>
<p>You can download it as part of my custom <a href="http://github.com/mig/tm_themes">TextMate theme repository</a> on github.  If you don’t have git installed, just hit the download link on the github page.</p>
]]></content:encoded>
			<wfw:commentRss>http://pggbee.com/pastie-textmate-theme/feed/</wfw:commentRss>
		</item>
	</channel>
</rss>
