<?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>rubyconsumer</title>
	<atom:link href="http://www.rubyconsumer.com/blog/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.rubyconsumer.com/blog</link>
	<description>consuming all things ruby.</description>
	<lastBuildDate>Mon, 30 Mar 2009 17:33:55 +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>Installing mysql ruby gem</title>
		<link>http://www.rubyconsumer.com/blog/2009/03/07/installing-mysql-ruby-gem/</link>
		<comments>http://www.rubyconsumer.com/blog/2009/03/07/installing-mysql-ruby-gem/#comments</comments>
		<pubDate>Sat, 07 Mar 2009 21:16:56 +0000</pubDate>
		<dc:creator>Winston Tsang</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://www.rubyconsumer.com/blog/?p=28</guid>
		<description><![CDATA[Having problems installing the mysql ruby gem?
Locate your mysql_config file and then pass it in the mysql config when you install the mysql gem.
sudo gem install mysql -- --with-mysql-config=/usr/local/mysql-5.1.32-osx10.5-x86/bin/mysql_config
That should address the following error:
sudo gem install mysql
Building native extensions.  This could take a while...
ERROR:  Error installing mysql:
       [...]]]></description>
			<content:encoded><![CDATA[<p>Having problems installing the mysql ruby gem?</p>
<p>Locate your mysql_config file and then pass it in the mysql config when you install the mysql gem.</p>
<p><code>sudo gem install mysql -- --with-mysql-config=/usr/local/mysql-5.1.32-osx10.5-x86/bin/mysql_config</code></p>
<p>That should address the following error:<br />
<code>sudo gem install mysql<br />
Building native extensions.  This could take a while...<br />
ERROR:  Error installing mysql:<br />
        ERROR: Failed to build gem native extension.</p>
<p>/System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/bin/ruby extconf.rb install mysql<br />
checking for mysql_query() in -lmysqlclient... no<br />
checking for main() in -lm... yes<br />
checking for mysql_query() in -lmysqlclient... no<br />
checking for main() in -lz... yes<br />
checking for mysql_query() in -lmysqlclient... no<br />
checking for main() in -lsocket... no<br />
checking for mysql_query() in -lmysqlclient... no<br />
checking for main() in -lnsl... no<br />
checking for mysql_query() in -lmysqlclient... no<br />
*** extconf.rb failed ***<br />
Could not create Makefile due to some reason, probably lack of<br />
necessary libraries and/or headers.  Check the mkmf.log file for more<br />
details.  You may need configuration options.</p>
<p>Provided configuration options:<br />
        --with-opt-dir<br />
        --without-opt-dir<br />
        --with-opt-include<br />
        --without-opt-include=${opt-dir}/include<br />
        --with-opt-lib<br />
        --without-opt-lib=${opt-dir}/lib<br />
        --with-make-prog<br />
        --without-make-prog<br />
        --srcdir=.<br />
        --curdir<br />
        --ruby=/System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/bin/ruby<br />
        --with-mysql-config<br />
        --without-mysql-config<br />
        --with-mysql-dir<br />
        --without-mysql-dir<br />
        --with-mysql-include<br />
        --without-mysql-include=${mysql-dir}/include<br />
        --with-mysql-lib<br />
        --without-mysql-lib=${mysql-dir}/lib<br />
        --with-mysqlclientlib<br />
        --without-mysqlclientlib<br />
        --with-mlib<br />
        --without-mlib<br />
        --with-mysqlclientlib<br />
        --without-mysqlclientlib<br />
        --with-zlib<br />
        --without-zlib<br />
        --with-mysqlclientlib<br />
        --without-mysqlclientlib<br />
        --with-socketlib<br />
        --without-socketlib<br />
        --with-mysqlclientlib<br />
        --without-mysqlclientlib<br />
        --with-nsllib<br />
        --without-nsllib<br />
        --with-mysqlclientlib<br />
        --without-mysqlclientlib</code></p>
]]></content:encoded>
			<wfw:commentRss>http://www.rubyconsumer.com/blog/2009/03/07/installing-mysql-ruby-gem/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Ruby on Rails Tutorials</title>
		<link>http://www.rubyconsumer.com/blog/2009/01/24/ruby-on-rails-tutorials/</link>
		<comments>http://www.rubyconsumer.com/blog/2009/01/24/ruby-on-rails-tutorials/#comments</comments>
		<pubDate>Sun, 25 Jan 2009 00:32:10 +0000</pubDate>
		<dc:creator>Winston Tsang</dc:creator>
				<category><![CDATA[rails]]></category>

		<guid isPermaLink="false">http://www.rubyconsumer.com/blog/2009/01/25/ruby-on-rails-tutorials/</guid>
		<description><![CDATA[Looking for some Ruby and Rails Tutorials?
Check out http://webdeveloper.econsultant.com/ruby-rails-tutorials/

Helpful Ruby on Rails tutorials.

AJAX powered chat in 3 hours on Ruby on Rails : Tutorial on creating simple Web chatroom

Ajax on Rails : at ONLamp

Beginner’s Guide to Rails, part 1 : series of tutorials at GodBit

Building Ruby, Rails, LightTPD, and MySQL on Tiger : at Hivelogic

Create [...]]]></description>
			<content:encoded><![CDATA[<p>Looking for some Ruby and Rails Tutorials?</p>
<p>Check out <a href="http://webdeveloper.econsultant.com/ruby-rails-tutorials/">http://webdeveloper.econsultant.com/ruby-rails-tutorials/</a><font style="font-weight: bold;" size="3"></p>
<p></font><br />
<h2 style="font-weight: bold;"><font size="3">Helpful Ruby on Rails tutorials.</font></h2>
<ol>
<li><a href="http://www.petercooper.co.uk/archives/001038.html">AJAX powered chat in 3 hours on Ruby on Rails</a> : Tutorial on creating simple Web chatroom
</li>
<li><a href="http://www.onlamp.com/pub/a/onlamp/2005/06/09/rails_ajax.html">Ajax on Rails</a> : at ONLamp
</li>
<li><a href="http://godbit.com/article/beginners-guide-to-rails-part-1">Beginner’s Guide to Rails, part 1</a> : series of tutorials at GodBit
</li>
<li><a href="http://www.hivelogic.com/articles/2005/12/01/ruby_rails_lighttpd_mysql_tiger">Building Ruby, Rails, LightTPD, and MySQL on Tiger</a> : at Hivelogic
</li>
<li><a href="http://www.thehua.com/forums/comments.php?DiscussionID=2&amp;1page=1#Item_1">Create a To Do List with Ruby on Rails &#8211; Beginner’s Tutorial</a> : at thehua
</li>
<li><a href="http://www.erikveen.dds.nl/distributingrubyapplications/rails.html">Distributing Rails Applications &#8211; A Tutorial</a> : by Erik Veenstra
</li>
<li><a href="http://www-128.ibm.com/developerworks/linux/library/l-rubyrails/">Fast-track your Web apps with Ruby on Rails</a> : at IBM
</li>
<li><a href="http://rails.homelinux.org/">Four Days on Rails</a> : Tutorial in PDF at HomeLinux
</li>
<li><a href="http://webmonkey.wired.com/webmonkey/05/28/index4a.html">Getting Your Feet Wet With Ruby on Rails</a> : at Webmonkey
</li>
<li><a href="http://digitalmediaminute.com/howto/fc4rails/">Installing Ruby on Rails with Lighttpd and MySQL on Fedora Core 4</a> : at DigitalMediaMinute
</li>
<li><a href="http://instantrails.rubyforge.org/wiki/wiki.pl">Instant Rails</a> : preconfigured Rails software
</li>
<li><a href="http://migo.sixbit.org/papers/Introduction_to_Ruby/slide-index.html">Introduction to Ruby</a> : for Perl programmers at SixBit
</li>
<li><a href="http://www.io.com/%7Ejimm/writing/Intro_to_Ruby.html">Introduction to Ruby for Mac OS X</a> :  at IO
</li>
<li><a href="http://www.math.umd.edu/%7Edcarrera/ruby/0.3/">Learning Ruby</a> : by Daniel Carrera
</li>
<li><a href="http://jrhicks.net/Projects/rails/has_many_and_belongs_to_many.pdf">Many to Many Tutorial for Rails (PDF)</a> : at JRHicks
</li>
<li><a href="http://www.ratio.co.uk/ov9pdf.pdf">ObjectiveView Ruby on Rails Introduction (PDF)</a> : at Ratio
</li>
<li><a href="http://www.slash7.com/articles/2005/01/24/really-getting-started-in-rails">Really Getting Started in Rails</a> : at Slash7
</li>
<li><a href="http://www.onlamp.com/pub/a/onlamp/2005/01/20/rails.html">Rolling with Ruby on Rails (Part1)</a> : at ONLamp
</li>
<li><a href="http://www.onlamp.com/pub/a/onlamp/2005/03/03/rails.html">Rolling with Ruby on Rails, Part 2</a> : at ONLamp
</li>
<li><a href="http://www.regdeveloper.co.uk/2006/07/03/ruby_rails_part1/">Ruby on Rails</a> : at RegDeveloper.co.uk
</li>
<li><a href="http://www.oracle.com/technology/pub/articles/haefel-oracle-ruby.html">Ruby on Rails on Oracle: A Simple Tutorial</a> : at Oracle
</li>
<li><a href="http://www.rubyonrails.org/screencasts">Ruby on Rails Screencasts</a> : at RubyOnRails
</li>
<li><a href="http://tryruby.hobix.com/">Try Ruby</a> : Try Ruby in the browser at Hobix
</li>
<li><a href="http://wiki.rubyonrails.com/rails/pages/Tutorial">Tutorial</a> : a basic tutorial at RubyOnRails
</li>
<li><a href="http://www.slash7.com/articles/2005/01/24/really-getting-started-in-rails">Really Getting Started in Rails</a> : Despite being written back all the way back in January 2005, Amy Hoy’s short and sweet intro still manages to be relevant
</li>
<li><a href="http://glu.ttono.us/articles/2006/03/21/rails-for-designers">Rails for Designers</a> : by Kevin Clark
</li>
<li><a href="http://www.zenspider.com/Languages/Ruby/QuickRef.html">Ruby QuickRef</a> : quick reference guide.
</li>
<li><a href="http://www.tutorialized.com/tutorials/Ruby-on-Rails/1">Ruby Tutorials</a> : at Tutorialized.com
</li>
<li><a href="http://developer.apple.com/tools/rubyonrails.html">Using Ruby on Rails for Dev on Mac OSX</a> : at Apple
</li>
<li><a href="http://alterlabs.com/ruby/how-to-build-a-ruby-on-rails-engine-in-depth-start-to-finish-tutorial/">How to Build a Ruby on Rails Engine: In-depth Start-to-Finish Tutorial</a> : at AlterLabs
</li>
</ol>
<h2>Related Posts:</h2>
<ol>
<li><a href="http://www.econsultant.com/web-developer/ruby-rails-basics/">Ruby on Rails Basics</a> (9 links) : Software / services to help in PHP.
</li>
<li><a href="http://www.econsultant.com/web-developer/ruby-rails-blogs/">Ruby on Rails Blogs</a> (10 links) : Blogs featuring articles, codes and discussions on Ruby.
</li>
<li><a href="http://www.econsultant.com/web-developer/ruby-rails-demos-examples-code-samples/">Ruby on Rails Demos Exampls Code Samples</a> (29 links) : s
</li>
<li><a href="http://www.econsultant.com/web-developer/ruby-rails-hosts/">Ruby on Rails Hosts</a> (238 links) : Web hosts supporting Ruby.
</li>
<li><a href="http://www.econsultant.com/web-developer/ruby-rails-official-sites/">Ruby on Rails Official Sites</a> (3 links) : Official sites for Ruby developers.
</li>
<li><a href="http://www.econsultant.com/web-developer/ruby-rails-projects-sites/">Ruby on Rails Projects Sites</a> (346 links) : Projects and sites developed using Ruby.
</li>
<li><a href="http://www.econsultant.com/web-developer/ruby-rails-tutorials/">Ruby on Rails Tutorials</a> (29 links) : Helpful Ruby on Rails tutorials.
</li>
</ol>
]]></content:encoded>
			<wfw:commentRss>http://www.rubyconsumer.com/blog/2009/01/24/ruby-on-rails-tutorials/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Vim: Turn code into HTML</title>
		<link>http://www.rubyconsumer.com/blog/2008/12/04/vim-turn-code-into-html/</link>
		<comments>http://www.rubyconsumer.com/blog/2008/12/04/vim-turn-code-into-html/#comments</comments>
		<pubDate>Thu, 04 Dec 2008 18:47:07 +0000</pubDate>
		<dc:creator>Winston Tsang</dc:creator>
				<category><![CDATA[unix]]></category>

		<guid isPermaLink="false">http://www.rubyconsumer.com/blog/?p=16</guid>
		<description><![CDATA[Maciej on his blog talks about an interesting feature in vim.
You can save highlighted source to a HTML file.
:runtime! syntax/2html.vim
So you can go from something like this:
To a html file like this:
]]></description>
			<content:encoded><![CDATA[<p>Maciej on his <a href="http://automatthias.wordpress.com/2007/07/10/vim-save-highlighted-syntax-in-html/">blog</a> talks about an interesting feature in vim.</p>
<p>You can save highlighted source to a HTML file.<br />
<code>:runtime! syntax/2html.vim</code></p>
<p>So you can go from something like this:<br />
<div id="attachment_17" class="wp-caption alignnone" style="width: 360px"><a href="http://www.rubyconsumer.com/blog/wp-content/uploads/2008/12/picture-4.png"><img src="http://www.rubyconsumer.com/blog/wp-content/uploads/2008/12/picture-4.png" alt="Ruby Code in Vim" title="vim ruby code" width="271" height="144" class="size-medium wp-image-17" /></a><p class="wp-caption-text">Ruby Code in Vim</p></div></p>
<p>To a html file like this:<br />
<div id="attachment_18" class="wp-caption alignnone" style="width: 360px"><a href="http://www.rubyconsumer.com/blog/wp-content/uploads/2008/12/picture-1.png"><img src="http://www.rubyconsumer.com/blog/wp-content/uploads/2008/12/picture-1-300x92.png" alt="Ruby Code in HTML" title="Ruby Code in HTML" width="300" height="92" class="size-medium wp-image-18" /></a><p class="wp-caption-text">Ruby Code in HTML</p></div></p>
]]></content:encoded>
			<wfw:commentRss>http://www.rubyconsumer.com/blog/2008/12/04/vim-turn-code-into-html/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Bluetooth Devices</title>
		<link>http://www.rubyconsumer.com/blog/2008/11/03/bluetooth-devices/</link>
		<comments>http://www.rubyconsumer.com/blog/2008/11/03/bluetooth-devices/#comments</comments>
		<pubDate>Mon, 03 Nov 2008 16:54:10 +0000</pubDate>
		<dc:creator>Winston Tsang</dc:creator>
				<category><![CDATA[consumer technology]]></category>

		<guid isPermaLink="false">http://www.rubyconsumer.com/blog/?p=15</guid>
		<description><![CDATA[For those looking into bluetooth devices, a friend of mine recently went through the hassle of finding his perfect bluetooth headset.
The hardest part, for me, was getting the audio transmitter.  That&#8217;s where avrcp (AV remote control) bit me, because i didn&#8217;t know it was a separate profile from a2dp (stereo bluetooth) and then in [...]]]></description>
			<content:encoded><![CDATA[<p>For those looking into bluetooth devices, a friend of mine recently went through the hassle of finding his perfect bluetooth headset.</p>
<blockquote><p>The hardest part, for me, was getting the audio transmitter.  That&#8217;s where avrcp (AV remote control) bit me, because i didn&#8217;t know it was a separate profile from a2dp (stereo bluetooth) and then in addition, you&#8217;ve got class 1 and class 2 bluetooth devices.  class 2 are the &#8220;default&#8221;, but the range is fairly short and microwave ovens disturb it at work</p>
<p>i switched to a class 1 device, and now i can go upstairs and still have music.  Then on top of class 1 and avrcp, you also have to know what media players it supports for the avrcp</p>
<p>(the bluetooth stack, rather; not specifically the transmitter) but the transmitter i got used the toshiba bluetooth stack, which has avrcp but only for a handful of players (not itunes) so if one were to buy a bluetooth audio transmitter, i would say:  a2dp, avrcp, class 1, and comes with the bluesoleil bluetooth stack&#8230;for windows. i just realized macs probably have builtin a2dp/avrcp and would certainly be compat with itunes.</p>
<p>the specific headset i have is the Sony DR-BT22 and i don&#8217;t have any major complaints.  music sounds good, it&#8217;s reasonably comfortable, and it&#8217;s got good battery life.  It does have a flimsy feel to it because it&#8217;s foldable, but it doesn&#8217;t bother me.</p>
<p>the transmitter i have (for the pc) is a Zoom class 2 bluetooth 2.  it works as advertised, but i don&#8217;t necessary recommend it.  it came w/ the toshiba bluetooth stack, which doesn&#8217;t work with itunes.  so i like the stats of the zoom, but i&#8217;d recommend a transmitter that comes w/ the blue soleil stack instead (since it works with itunes).</p></blockquote>
]]></content:encoded>
			<wfw:commentRss>http://www.rubyconsumer.com/blog/2008/11/03/bluetooth-devices/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Skype Regex FTW!</title>
		<link>http://www.rubyconsumer.com/blog/2008/10/09/skype-regex-ftw/</link>
		<comments>http://www.rubyconsumer.com/blog/2008/10/09/skype-regex-ftw/#comments</comments>
		<pubDate>Thu, 09 Oct 2008 15:08:06 +0000</pubDate>
		<dc:creator>Winston Tsang</dc:creator>
				<category><![CDATA[mac]]></category>

		<guid isPermaLink="false">http://www.rubyconsumer.com/blog/2008/10/09/skype-regex-ftw/</guid>
		<description><![CDATA[When messaging through Skype, it&#8217;s not unusual for geeks to write a little bit of regular expression to correct mistakes.
Example:
rubyconsumer&#62; I like kake!
rubyconsumer&#62; s/kake/cake/
Well it looks like the Skype client for the mac has taken this one step further.&#160; And for once, the mac client is actually ahead of the windows client.
An up to date [...]]]></description>
			<content:encoded><![CDATA[<p>When messaging through Skype, it&#8217;s not unusual for geeks to write a little bit of regular expression to correct mistakes.</p>
<p>Example:<br />
rubyconsumer&gt; I like kake!<br />
rubyconsumer&gt; s/kake/cake/</p>
<p>Well it looks like the Skype client for the mac has taken this one step further.&nbsp; And for once, the mac client is actually ahead of the windows client.</p>
<p>An up to date Skype client will now take that regex and run it against your last message.&nbsp; The resulting message from the previous example would look like:</p>
<p>Example:<br />
Editted: 10/9/08 7:30AM &#8211; rubyconsumer<br />
rubyconsumer&gt; I like cake!</p>
<p>Now that&#8217;s Geek Accessibility!</p>
<p>Now if only video sites like youtube would add key board shortcuts&#8230;
<div class="flockcredit" style="text-align: right; color: #CCC; font-size: x-small;">Blogged with the <a href="http://www.flock.com/blogged-with-flock" style="color: #999; font-weight: bold;" target="_new" title="Flock Browser">Flock Browser</a></div>
]]></content:encoded>
			<wfw:commentRss>http://www.rubyconsumer.com/blog/2008/10/09/skype-regex-ftw/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Full Finder Paths</title>
		<link>http://www.rubyconsumer.com/blog/2008/07/08/full-finder-paths/</link>
		<comments>http://www.rubyconsumer.com/blog/2008/07/08/full-finder-paths/#comments</comments>
		<pubDate>Tue, 08 Jul 2008 05:34:37 +0000</pubDate>
		<dc:creator>Winston Tsang</dc:creator>
				<category><![CDATA[mac]]></category>

		<guid isPermaLink="false">http://www.rubyconsumer.com/blog/?p=13</guid>
		<description><![CDATA[I really love OS X.  Things are done right or can be easily changed&#8230; for the most part.
A few though, need to be configured through secret command line incantations.
I&#8217;ve finally ran across a way to add the full path of the directory into the Finder.
defaults write com.apple.finder _FXShowPosixPathInTitle -bool YES
Restart the Finder and volia!
There [...]]]></description>
			<content:encoded><![CDATA[<p>I really love OS X.  Things are done right or can be easily changed&#8230; for the most part.</p>
<p>A few though, need to be configured through secret command line incantations.</p>
<p>I&#8217;ve finally ran across a way to add the full path of the directory into the Finder.</p>
<p><code>defaults write com.apple.finder _FXShowPosixPathInTitle -bool YES</code></p>
<p>Restart the Finder and volia!</p>
<p>There are more customizations available from the command line <a href="http://macosxtips.co.uk/index_files/terminal-commands-for-hidden-settings-in-leopard.html">here.</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.rubyconsumer.com/blog/2008/07/08/full-finder-paths/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Menu ShortCut for Leopard</title>
		<link>http://www.rubyconsumer.com/blog/2008/07/07/menu-shortcut-for-leopard/</link>
		<comments>http://www.rubyconsumer.com/blog/2008/07/07/menu-shortcut-for-leopard/#comments</comments>
		<pubDate>Mon, 07 Jul 2008 19:37:58 +0000</pubDate>
		<dc:creator>Winston Tsang</dc:creator>
				<category><![CDATA[mac]]></category>

		<guid isPermaLink="false">http://www.rubyconsumer.com/blog/?p=12</guid>
		<description><![CDATA[I ran across a great menu shortcut on Leopard.
Cmd-Shift-/ (aka. Cmd-?)
Now just type in your menu command and the result comes up like quicksilver/spotlight.
Hit enter and volia!
use help to select menu items in leopard
]]></description>
			<content:encoded><![CDATA[<p>I ran across a great menu shortcut on Leopard.</p>
<p>Cmd-Shift-/ (aka. Cmd-?)</p>
<p>Now just type in your menu command and the result comes up like quicksilver/spotlight.</p>
<p>Hit enter and volia!</p>
<p><a href="http://www.tuaw.com/2008/02/08/tuaw-tip-use-help-to-select-menu-items-in-leopard/">use help to select menu items in leopard</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.rubyconsumer.com/blog/2008/07/07/menu-shortcut-for-leopard/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Faster Gem Docs</title>
		<link>http://www.rubyconsumer.com/blog/2008/07/02/faster-gem-docs/</link>
		<comments>http://www.rubyconsumer.com/blog/2008/07/02/faster-gem-docs/#comments</comments>
		<pubDate>Wed, 02 Jul 2008 19:22:28 +0000</pubDate>
		<dc:creator>Winston Tsang</dc:creator>
				<category><![CDATA[rails]]></category>
		<category><![CDATA[ruby]]></category>

		<guid isPermaLink="false">http://www.rubyconsumer.com/blog/2008/07/02/faster-gem-docs/</guid>
		<description><![CDATA[A few weekends ago, I was at Ann Arbor Startup Weekend.  It was a great weekend.  We had a functional alpha/beta at the end of the weekend.  This was despite the, to put it mildly, congested wifi.
A lot of folks are very reliant on the internet for information.  Understandably so, but [...]]]></description>
			<content:encoded><![CDATA[<p>A few weekends ago, I was at <a href="http://annarbor.startupweekend.com/">Ann Arbor Startup Weekend</a>.  It was a great weekend.  We had a functional alpha/beta at the end of the weekend.  This was despite the, to put it mildly, congested wifi.</p>
<p>A lot of folks are very reliant on the internet for information.  Understandably so, but it doesn&#8217;t work in a weak and no wifi situation.</br></p>
<p>Using gem_server to get your documentation each time seems like a lot of work.</p>
<p>Enter <a href="http://stephencelis.com/archive/2008/6/bashfully-yours-gem-shortcuts">Bashfully Yours, Gem Shortcuts</a>.</p>
<p>By setting up my bash to load up gem documentation, I&#8217;m able to get documentation faster then you can off the web.</p>
<p><code>gemdoc hpricot</code></p>
<p>Done!</p>
<p>Try it out.  It might even inspire you to help out with documenting a few gems.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.rubyconsumer.com/blog/2008/07/02/faster-gem-docs/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Block Mode Editting</title>
		<link>http://www.rubyconsumer.com/blog/2008/07/01/block-mode-editting/</link>
		<comments>http://www.rubyconsumer.com/blog/2008/07/01/block-mode-editting/#comments</comments>
		<pubDate>Tue, 01 Jul 2008 20:49:24 +0000</pubDate>
		<dc:creator>Winston Tsang</dc:creator>
				<category><![CDATA[unix]]></category>

		<guid isPermaLink="false">http://www.rubyconsumer.com/blog/2008/07/01/block-mode-editting/</guid>
		<description><![CDATA[I&#8217;ve been a long time VI user.  Not a vi-ninja but definitely comfortable using the vi methodology.
Having used Block Mode editting in Textmate, I really needed to find a way to do the same in vi.
Volia!
Ctrl-V with &#8216;c&#8217;, &#8216;I&#8217;, and &#8216;A&#8217; are the magic commands in vi
Vim Block Visual Mode
]]></description>
			<content:encoded><![CDATA[<p>I&#8217;ve been a long time VI user.  Not a vi-ninja but definitely comfortable using the vi methodology.</p>
<p>Having used Block Mode editting in Textmate, I really needed to find a way to do the same in vi.</p>
<p>Volia!</p>
<p>Ctrl-V with &#8216;c&#8217;, &#8216;I&#8217;, and &#8216;A&#8217; are the magic commands in vi</p>
<p><a href="http://en.wikibooks.org/wiki/Learning_the_vi_editor/Vim/Modes#block_visual_mode">Vim Block Visual Mode</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.rubyconsumer.com/blog/2008/07/01/block-mode-editting/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Setting Up Unix Profiles In A Diverse Environment</title>
		<link>http://www.rubyconsumer.com/blog/2008/07/01/setting-up-unix-profiles-for-a-diverse-environment/</link>
		<comments>http://www.rubyconsumer.com/blog/2008/07/01/setting-up-unix-profiles-for-a-diverse-environment/#comments</comments>
		<pubDate>Tue, 01 Jul 2008 18:30:03 +0000</pubDate>
		<dc:creator>Winston Tsang</dc:creator>
				<category><![CDATA[mac]]></category>
		<category><![CDATA[unix]]></category>

		<guid isPermaLink="false">http://www.rubyconsumer.com/blog/2008/07/01/setting-up-unix-profiles-for-a-diverse-environment/</guid>
		<description><![CDATA[I&#8217;ve recently made changes to my bash profile after getting sick and tired of managing multiple environments in one profile.

In a mac environment, I need to add a path for my Ports directories as well as other mac specific configurations.  On Solaris machines, I have a different set of configurations.
Managing all of this was [...]]]></description>
			<content:encoded><![CDATA[<p>I&#8217;ve recently made changes to my bash profile after getting sick and tired of managing multiple environments in one profile.</p>
<p><span id="more-9"></span></p>
<p>In a mac environment, I need to add a path for my Ports directories as well as other mac specific configurations.  On Solaris machines, I have a different set of configurations.</p>
<p>Managing all of this was getting to be a chore.</p>
<p>So I came up with the idea to use a common profile for all environments with custom profiles for each unique environment.</p>
<p>I&#8217;ve been using a low footprint method to running my customized profile for a while now.  Luckily, this method also lends itself to the task at hand.</p>
<p>You can than source each profile based on the environment you are in.</p>
<p>In your .profile, .bash_login, or whatever is appropriate, place the following code:</p>
<table class="CodeRay">
<tr>
<td class="code"><code># CUSTOM SET-UP<br />
        test -e $HOME/.profile.common &#038;&#038; . $HOME/.profile.common<br />
        test -e $HOME/.profile.mac &#038;&#038; . $HOME/.profile.mac<br />
    </code>
  </td>
</tr>
</table>
<p>.profile.common contains all my generic configurations.</p>
<p>.profile.mac contains all my mac customizations.</p>
<p>Volia!  Instant environment specific customizations.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.rubyconsumer.com/blog/2008/07/01/setting-up-unix-profiles-for-a-diverse-environment/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
