<?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>TechCogs</title>
	<atom:link href="http://www.techcogs.com/?feed=rss2" rel="self" type="application/rss+xml" />
	<link>http://www.techcogs.com</link>
	<description>a blog on technology, management, and whatever else comes to mind</description>
	<lastBuildDate>Mon, 24 May 2010 15:56:06 +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>No association found for name `products&#039;. Has it been defined yet?</title>
		<link>http://www.techcogs.com/?p=424</link>
		<comments>http://www.techcogs.com/?p=424#comments</comments>
		<pubDate>Mon, 24 May 2010 15:56:06 +0000</pubDate>
		<dc:creator>Andrew</dc:creator>
				<category><![CDATA[Development]]></category>
		<category><![CDATA[Ruby]]></category>
		<category><![CDATA[Ruby on Rails]]></category>

		<guid isPermaLink="false">http://www.techcogs.com/?p=424</guid>
		<description><![CDATA[Working on a project, I had to make some changes to the associations &#8211; where Product_Lines had many Products to Product_Lines has one Product.  (The reason behind this is a whole other story.)
This is the error I got:
No association found for name `products&#8217;. Has it been defined yet?
I had changed the Product_Lines model to has_one [...]]]></description>
			<content:encoded><![CDATA[<p>Working on a project, I had to make some changes to the associations &#8211; where Product_Lines had many Products to Product_Lines has one Product.  (The reason behind this is a whole other story.)</p>
<p>This is the error I got:</p>
<blockquote><p>No association found for name `products&#8217;. Has it been defined yet?</p></blockquote>
<p>I had changed the Product_Lines model to has_one Product.  But, I had over looked the accepts_nested_attributes_for line.  I changed :products to :product and it fixed it.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.techcogs.com/?feed=rss2&amp;p=424</wfw:commentRss>
		<slash:comments>14</slash:comments>
		</item>
		<item>
		<title>Errors using Capistrano</title>
		<link>http://www.techcogs.com/?p=421</link>
		<comments>http://www.techcogs.com/?p=421#comments</comments>
		<pubDate>Thu, 29 Apr 2010 00:23:21 +0000</pubDate>
		<dc:creator>Andrew</dc:creator>
				<category><![CDATA[Development]]></category>
		<category><![CDATA[Capistrano]]></category>
		<category><![CDATA[LAMP]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Rails]]></category>
		<category><![CDATA[Ruby on Rails]]></category>
		<category><![CDATA[Ubuntu]]></category>

		<guid isPermaLink="false">http://www.techcogs.com/?p=421</guid>
		<description><![CDATA[&#8220;** [out :: myserver] deploy is not in the sudoers file.  This incident will be reported.&#8221;  &#8212; Solution is here.


Edit the  sudoers file



This step must be carried out as the admin user of your  accelerator (or another user allowed to call sudo visudo) otherwise you  won't be allowed to run the command. [...]]]></description>
			<content:encoded><![CDATA[<p>&#8220;** [out :: myserver] deploy is not in the sudoers file.  This incident will be reported.&#8221;  &#8212; Solution is <a href="http://wiki.joyent.com/accelerators:deploying_rails_apps" target="_blank">here</a>.</p>
<p><span id="more-421"></span></p>
<pre>
<pre style="padding-left: 30px;"><a id="edit-the-sudoers-file" name="edit-the-sudoers-file">Edit the  sudoers file</a></pre>
<pre>
</pre>
<div style="padding-left: 30px;">
<pre>This step <strong>must be carried out as the admin user</strong> of your  accelerator (or another user allowed to call sudo visudo) otherwise you  won't be allowed to run the command. To add a user to sudoers file, you  must use visudo. visudo emulates VI and is used to prevent errors when  editing the sudoers file:</pre>
<pre>
<pre>sudo visudo</pre>
</pre>
<div>If you can't use the arrows, as  reported by some people on <acronym title="Operating System">OS</acronym> X, you can use other keys (h, j, k, l; learn more here: <a title="http://hea-www.harvard.edu/~fine/Tech/vi.html" href="http://hea-www.harvard.edu/%7Efine/Tech/vi.html">http://hea-www.harvard.edu/~fine/Tech/vi.html</a>),  or use an alternate terminal like iTerm, which has been reported to  work.</div>
</div>
<h3 style="padding-left: 30px;"><a id="how-to-use-visudo" name="how-to-use-visudo">How to use visudo</a></h3>
<div style="padding-left: 30px;">
1. Use the arrow keys to navigate the cursor to the spot where you want  to start typing<br />
2. Enter “insert mode” by pressing “i”<br />
3. When you are done entering text, hit esc to go back to “command mode”<br />
4. Write the file back to disk by typing :w followed by hitting enter.<br />
5. Exit visudo with :q followed by enter.<br />
Text entered for my user, right below “root ALL=(ALL) ALL”:</p>
<pre>
<pre style="padding-left: 30px;">newuserforvirtualserver ALL=(ALL) ALL</pre>
</pre>
</div>
<pre></pre>
</pre>
<p><!--more-->Also, I had errors where I had to modify the permissions &#8212; getting a permissions denied.</p>
<p>** [myserver :: out] fatal: could not create work tree dir &#8216;var/www/myapp/shared/cached-copy&#8217;: Permission denied.</p>
<p>The solution was to change the permissions on www to 765.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.techcogs.com/?feed=rss2&amp;p=421</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>Windows 2003 – Login Screen is Black Except for Logo &#8211; Part 2</title>
		<link>http://www.techcogs.com/?p=418</link>
		<comments>http://www.techcogs.com/?p=418#comments</comments>
		<pubDate>Wed, 14 Apr 2010 15:54:47 +0000</pubDate>
		<dc:creator>Andrew</dc:creator>
				<category><![CDATA[Hosting]]></category>
		<category><![CDATA[Server Admin]]></category>
		<category><![CDATA[Servers]]></category>
		<category><![CDATA[Solution]]></category>
		<category><![CDATA[Troubleshooting]]></category>
		<category><![CDATA[Windows 2003 R2]]></category>
		<category><![CDATA[Windows Server]]></category>

		<guid isPermaLink="false">http://www.techcogs.com/?p=418</guid>
		<description><![CDATA[﻿Here are the default registry settings for the instructions mention in the MS KB http://support.microsoft.com/kb/906510.


Windows Registry Editor Version 5.00

[HKEY_USERS\.DEFAULT\Control Panel\Colors]
&#8220;ActiveBorder&#8221;=&#8221;212 208 200&#8243;
&#8220;ActiveTitle&#8221;=&#8221;10 36 106&#8243;
&#8220;AppWorkSpace&#8221;=&#8221;128 128 128&#8243;
&#8220;Background&#8221;=&#8221;102 111 116&#8243;
&#8220;ButtonAlternateFace&#8221;=&#8221;181 181 181&#8243;
&#8220;ButtonDkShadow&#8221;=&#8221;64 64 64&#8243;
&#8220;ButtonFace&#8221;=&#8221;212 208 200&#8243;
&#8220;ButtonHilight&#8221;=&#8221;255 255 255&#8243;
&#8220;ButtonLight&#8221;=&#8221;212 208 200&#8243;
&#8220;ButtonShadow&#8221;=&#8221;128 128 128&#8243;
&#8220;ButtonText&#8221;=&#8221;0 0 0&#8243;
&#8220;GradientActiveTitle&#8221;=&#8221;166 202 240&#8243;
&#8220;GradientInactiveTitle&#8221;=&#8221;192 192 192&#8243;
&#8220;GrayText&#8221;=&#8221;128 128 128&#8243;
&#8220;Hilight&#8221;=&#8221;10 36 106&#8243;
&#8220;HilightText&#8221;=&#8221;255 255 255&#8243;
&#8220;HotTrackingColor&#8221;=&#8221;0 0 128&#8243;
&#8220;InactiveBorder&#8221;=&#8221;212 208 200&#8243;
&#8220;InactiveTitle&#8221;=&#8221;128 [...]]]></description>
			<content:encoded><![CDATA[<p>﻿Here are the default registry settings for the instructions mention in the MS KB <span style="font-family: Tahoma; line-height: normal; color: #2c2c29;"><a href="http://support.microsoft.com/kb/906510" target="_blank">http://support.microsoft.com/kb/906510</a>.</span></p>
<div id="_mcePaste">
<blockquote>
<div id="_mcePaste">Windows Registry Editor Version 5.00</div>
<div id="_mcePaste"></div>
<div id="_mcePaste">[HKEY_USERS\.DEFAULT\Control Panel\Colors]</div>
<div id="_mcePaste">&#8220;ActiveBorder&#8221;=&#8221;212 208 200&#8243;</div>
<div id="_mcePaste">&#8220;ActiveTitle&#8221;=&#8221;10 36 106&#8243;</div>
<div id="_mcePaste">&#8220;AppWorkSpace&#8221;=&#8221;128 128 128&#8243;</div>
<div id="_mcePaste">&#8220;Background&#8221;=&#8221;102 111 116&#8243;</div>
<div id="_mcePaste">&#8220;ButtonAlternateFace&#8221;=&#8221;181 181 181&#8243;</div>
<div id="_mcePaste">&#8220;ButtonDkShadow&#8221;=&#8221;64 64 64&#8243;</div>
<div id="_mcePaste">&#8220;ButtonFace&#8221;=&#8221;212 208 200&#8243;</div>
<div id="_mcePaste">&#8220;ButtonHilight&#8221;=&#8221;255 255 255&#8243;</div>
<div id="_mcePaste">&#8220;ButtonLight&#8221;=&#8221;212 208 200&#8243;</div>
<div id="_mcePaste">&#8220;ButtonShadow&#8221;=&#8221;128 128 128&#8243;</div>
<div id="_mcePaste">&#8220;ButtonText&#8221;=&#8221;0 0 0&#8243;</div>
<div id="_mcePaste">&#8220;GradientActiveTitle&#8221;=&#8221;166 202 240&#8243;</div>
<div id="_mcePaste">&#8220;GradientInactiveTitle&#8221;=&#8221;192 192 192&#8243;</div>
<div id="_mcePaste">&#8220;GrayText&#8221;=&#8221;128 128 128&#8243;</div>
<div id="_mcePaste">&#8220;Hilight&#8221;=&#8221;10 36 106&#8243;</div>
<div id="_mcePaste">&#8220;HilightText&#8221;=&#8221;255 255 255&#8243;</div>
<div id="_mcePaste">&#8220;HotTrackingColor&#8221;=&#8221;0 0 128&#8243;</div>
<div id="_mcePaste">&#8220;InactiveBorder&#8221;=&#8221;212 208 200&#8243;</div>
<div id="_mcePaste">&#8220;InactiveTitle&#8221;=&#8221;128 128 128&#8243;</div>
<div id="_mcePaste">&#8220;InactiveTitleText&#8221;=&#8221;212 208 200&#8243;</div>
<div id="_mcePaste">&#8220;InfoText&#8221;=&#8221;0 0 0&#8243;</div>
<div id="_mcePaste">&#8220;InfoWindow&#8221;=&#8221;255 255 225&#8243;</div>
<div id="_mcePaste">&#8220;Menu&#8221;=&#8221;212 208 200&#8243;</div>
<div id="_mcePaste">&#8220;MenuText&#8221;=&#8221;0 0 0&#8243;</div>
<div id="_mcePaste">&#8220;Scrollbar&#8221;=&#8221;212 208 200&#8243;</div>
<div id="_mcePaste">&#8220;TitleText&#8221;=&#8221;255 255 255&#8243;</div>
<div id="_mcePaste">&#8220;Window&#8221;=&#8221;255 255 255&#8243;</div>
<div id="_mcePaste">&#8220;WindowFrame&#8221;=&#8221;0 0 0&#8243;</div>
<div id="_mcePaste">&#8220;WindowText&#8221;=&#8221;0 0 0&#8243;</div>
</blockquote>
<div id="_mcePaste"></div>
</div>
]]></content:encoded>
			<wfw:commentRss>http://www.techcogs.com/?feed=rss2&amp;p=418</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>RubyMine &amp; Git</title>
		<link>http://www.techcogs.com/?p=413</link>
		<comments>http://www.techcogs.com/?p=413#comments</comments>
		<pubDate>Thu, 08 Apr 2010 20:46:59 +0000</pubDate>
		<dc:creator>Andrew</dc:creator>
				<category><![CDATA[Development]]></category>
		<category><![CDATA[git]]></category>
		<category><![CDATA[OS X]]></category>
		<category><![CDATA[Ruby]]></category>
		<category><![CDATA[Ruby Mine]]></category>
		<category><![CDATA[Ruby on Rails]]></category>

		<guid isPermaLink="false">http://www.techcogs.com/?p=413</guid>
		<description><![CDATA[In order to get Git working in RubyMine, you&#8217;ll need to go into preferences and setup the path for the executable.
Preferences &#62; VCSs &#62; Git
Path to git executable: /usr/local/git/bin/git   (for OSx)
]]></description>
			<content:encoded><![CDATA[<p>In order to get Git working in RubyMine, you&#8217;ll need to go into preferences and setup the path for the executable.</p>
<p>Preferences &gt; VCSs &gt; Git</p>
<p>Path to git executable: /usr/local/git/bin/git   (for OSx)</p>
]]></content:encoded>
			<wfw:commentRss>http://www.techcogs.com/?feed=rss2&amp;p=413</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Rails: how to change the header (title) for the validation message</title>
		<link>http://www.techcogs.com/?p=409</link>
		<comments>http://www.techcogs.com/?p=409#comments</comments>
		<pubDate>Wed, 31 Mar 2010 19:27:47 +0000</pubDate>
		<dc:creator>Andrew</dc:creator>
				<category><![CDATA[Development]]></category>
		<category><![CDATA[LAMP]]></category>
		<category><![CDATA[Rails]]></category>
		<category><![CDATA[Ruby]]></category>
		<category><![CDATA[Ruby on Rails]]></category>

		<guid isPermaLink="false">http://www.techcogs.com/?p=409</guid>
		<description><![CDATA[The request was simple &#8211; how do you change the header (or title) for a validation message.  Using nested resources, I ended up with a weird message:

3 errors prohibited this page[contact attributes] from being  saved

Not very user friendly.   So, I hit Google, blogs and IRC.  So, here the solution I discovered.
&#60;%= error_messages_for &#8216;c&#8217;, [...]]]></description>
			<content:encoded><![CDATA[<p>The request was simple &#8211; how do you change the header (or title) for a validation message.  Using nested resources, I ended up with a weird message:</p>
<blockquote>
<pre>3 errors prohibited this page[contact attributes] from being  saved</pre>
</blockquote>
<p>Not very user friendly.   So, I hit Google, blogs and IRC.  So, here the solution I discovered.</p>
<blockquote><p>&lt;%= error_messages_for &#8216;c&#8217;, :header_message =&gt; &#8220;Please correct the errors below:&#8221;%&gt;</p></blockquote>
<p>Since this was part of a fields_for block,  I had to add this to my controller method:</p>
<blockquote><p>@c = @section.contact</p></blockquote>
]]></content:encoded>
			<wfw:commentRss>http://www.techcogs.com/?feed=rss2&amp;p=409</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Windows 2003 &#8211; Login Screen is Black Except for Logo</title>
		<link>http://www.techcogs.com/?p=406</link>
		<comments>http://www.techcogs.com/?p=406#comments</comments>
		<pubDate>Thu, 11 Mar 2010 15:56:19 +0000</pubDate>
		<dc:creator>Andrew</dc:creator>
				<category><![CDATA[Hosting]]></category>
		<category><![CDATA[Microsoft]]></category>
		<category><![CDATA[Servers]]></category>
		<category><![CDATA[Windows 2003 R2]]></category>

		<guid isPermaLink="false">http://www.techcogs.com/?p=406</guid>
		<description><![CDATA[So, I had a server that ran out of disk space on the OS partition.  Easy to fix, but when I rebooted the server, the screen was black except for the box that has the Windows logo.  I was still able to login, but I had to guess at field I was on when typing. [...]]]></description>
			<content:encoded><![CDATA[<p>So, I had a server that ran out of disk space on the OS partition.  Easy to fix, but when I rebooted the server, the screen was black except for the box that has the Windows logo.  I was still able to login, but I had to guess at field I was on when typing. Well, it seems this is a strange by-product of not being able to save your profile when logging off.</p>
<p>There is a somewhat simple solution, but it requires a working server.</p>
<p>http://support.microsoft.com/kb/906510</p>
]]></content:encoded>
			<wfw:commentRss>http://www.techcogs.com/?feed=rss2&amp;p=406</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Configure Apache with a Server Alias</title>
		<link>http://www.techcogs.com/?p=402</link>
		<comments>http://www.techcogs.com/?p=402#comments</comments>
		<pubDate>Wed, 10 Mar 2010 17:18:56 +0000</pubDate>
		<dc:creator>Andrew</dc:creator>
				<category><![CDATA[Hosting]]></category>
		<category><![CDATA[Apache]]></category>
		<category><![CDATA[LAMP]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Open Source]]></category>
		<category><![CDATA[Server Admin]]></category>
		<category><![CDATA[Ubuntu]]></category>
		<category><![CDATA[WordPress]]></category>

		<guid isPermaLink="false">http://www.techcogs.com/?p=402</guid>
		<description><![CDATA[Notes on setting up apache for multiple web sites:
In the /etc/apache2 directory you have two directories:
- sites-available
- sites-enabled
The sites-available directory contains configuration files for each website.
The sites-available contains links to the configuration file in the sites-available directory.  It does not contain the file itself.
The mistake that is made at times is that *all* configs are [...]]]></description>
			<content:encoded><![CDATA[<p>Notes on setting up apache for multiple web sites:</p>
<p>In the /etc/apache2 directory you have two directories:<br />
- sites-available<br />
- sites-enabled</p>
<p>The sites-available directory contains configuration files for each website.<br />
The sites-available contains links to the configuration file in the sites-available directory.  It does not contain the file itself.</p>
<p>The mistake that is made at times is that *all* configs are placed in one file &#8211; default.</p>
<p>So, for a domain name like domain.com you would create a file called domain.com in the sites-available directory with the following:</p>
<p>NameVirtualHost *:80<br />
&lt;VirtualHost *:80&gt;<br />
DocumentRoot /var/www/domain<br />
ServerName www.domain.com<br />
Server Alias domain.com<br />
&lt;/VirtualHost&gt;</p>
<p>you would do:  /ln -s /etc/apache2/sites-available/domain.com /etc/apache2/sites-enabled/domain.com</p>
<p>OR</p>
<p>a2ensite domain.com (from within the sites-available) directory.</p>
<p>finally:  /etc/init.d/apache2 reload</p>
<p>So, in a nutshell &#8212; create a file per domain name &#8212; use ServerAlias to cover www.domain.com and domain.com.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.techcogs.com/?feed=rss2&amp;p=402</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>Jumping into Ruby on Rails &#8211; Part 3</title>
		<link>http://www.techcogs.com/?p=385</link>
		<comments>http://www.techcogs.com/?p=385#comments</comments>
		<pubDate>Fri, 05 Feb 2010 20:12:18 +0000</pubDate>
		<dc:creator>Andrew</dc:creator>
				<category><![CDATA[Development]]></category>
		<category><![CDATA[Open Source]]></category>
		<category><![CDATA[Rails]]></category>
		<category><![CDATA[Ruby]]></category>

		<guid isPermaLink="false">http://www.techcogs.com/?p=385</guid>
		<description><![CDATA[Well, I&#8217;ve been working on learning Ruby on Rails for several months now.  The past couple of months, I&#8217;ve focused more on my studies and I&#8217;m finally feeling comfortable with it.
I thought it would be best to share what I think would be the best way to approach learning Ruby on Rails based on all [...]]]></description>
			<content:encoded><![CDATA[<p>Well, I&#8217;ve been working on learning Ruby on Rails for several months now.  The past couple of months, I&#8217;ve focused more on my studies and I&#8217;m finally feeling comfortable with it.</p>
<p>I thought it would be best to share what I think would be the best way to approach learning Ruby on Rails based on all of my experiences.  So, here are my suggestions</p>
<p>1. Learn Ruby on Rails on Linux or a Mac.</p>
<p style="padding-left: 30px;">Why?  It&#8217;s just easier.  An example to this is getting the MySQL gem installed on Windows &#8211; after hours of trying to figure this out, I finally gave up and started to use Linux.  You will spend hours trying to get something to work under Windows and to me that is just wasted time.  And I tried all different kinds of approaches &#8211; Cygwin, Instant Rails, etc.</p>
<p style="padding-left: 30px;">2. Learn Ruby</p>
<p style="padding-left: 30px;">Here are some suggestion:</p>
<p style="padding-left: 60px;"><a href="http://www.amazon.com/gp/product/1934356085?ie=UTF8&amp;tag=learsoftdesi-20&amp;linkCode=as2&amp;camp=1789&amp;creative=9325&amp;creativeASIN=1934356085">Programming Ruby 1.9: The Pragmatic Programmers&#8217; Guide (Facets of Ruby)</a><img style="border: none !important; margin: 0px !important;" src="http://www.assoc-amazon.com/e/ir?t=learsoftdesi-20&amp;l=as2&amp;o=1&amp;a=1934356085" border="0" alt="" width="1" height="1" /></p>
<p style="padding-left: 60px;"><a href="http://rubylearning.org/class/" target="_blank">Free (if you buy a book) class.</a></p>
<p style="padding-left: 30px;">Also, most Ruby on Rails books will give you a sufficient overview to the Ruby language to get started.</p>
<p>3. Expect gaps of informaton</p>
<p style="padding-left: 30px;">This was a *huge* problem for me.  I started working my way through the Agile Web Development with Rails book, that presents itself as a book  from a beginner to an expert.  Well, I discovered that the book *expects* you know the nuances of Rails.</p>
<p style="padding-left: 30px;">I&#8217;ve looked at a good number of books and found this one to be a great one to start with:</p>
<p style="padding-left: 60px;"><a href="http://www.amazon.com/gp/product/0470258225?ie=UTF8&amp;tag=learsoftdesi-20&amp;linkCode=as2&amp;camp=1789&amp;creative=9325&amp;creativeASIN=0470258225">Ruby on Rails Bible</a><img style="border: none !important; margin: 0px !important;" src="http://www.assoc-amazon.com/e/ir?t=learsoftdesi-20&amp;l=as2&amp;o=1&amp;a=0470258225" border="0" alt="" width="1" height="1" /></p>
<p style="padding-left: 30px;">Note:  While the book was published in 2008, it covers Rails 1.2 &#8211; which was current in 2005.  So the book is a *bit* dated.  However, it does present itself with knowledge about Rails that other books leave out.  Also, as a co-worker pointed out, the web site for the book is &#8211; uh, well &#8211; broken.</p>
<p style="padding-left: 30px;">So, specifically, as most Railists know &#8211; RoR is convention over configuration &#8211; and what I find missing in most books is a good explanation of the conventions.</p>
<p>4. Watch some screen casts:</p>
<p style="padding-left: 30px;"><strong>Free</strong></p>
<p style="padding-left: 30px;"><a href="http://railscasts.com/" target="_blank">Railcasts</a></p>
<p style="padding-left: 30px;"><a href="http://www.teachmetocode.com/" target="_blank">TeachMeToCode.com</a> ** check out the Flitter tutorial</p>
<p style="padding-left: 30px;"><strong>Paid</strong></p>
<p style="padding-left: 30px;"><a href="http://peepcode.com/" target="_blank">PeepCode</a> ** $149 a year &#8211; has tutorials on Ruby, Rails, and much more!</p>
<p>Well, that&#8217;s my advice.  Let me know if you have any suggestions!</p>
]]></content:encoded>
			<wfw:commentRss>http://www.techcogs.com/?feed=rss2&amp;p=385</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Error installing libxml-ruby</title>
		<link>http://www.techcogs.com/?p=380</link>
		<comments>http://www.techcogs.com/?p=380#comments</comments>
		<pubDate>Tue, 02 Feb 2010 04:38:06 +0000</pubDate>
		<dc:creator>Andrew</dc:creator>
				<category><![CDATA[Development]]></category>
		<category><![CDATA[Gems]]></category>
		<category><![CDATA[LAMP]]></category>
		<category><![CDATA[Open Source]]></category>
		<category><![CDATA[Rails]]></category>
		<category><![CDATA[Ruby]]></category>
		<category><![CDATA[Ruby on Rails]]></category>
		<category><![CDATA[Ubuntu]]></category>

		<guid isPermaLink="false">http://www.techcogs.com/?p=380</guid>
		<description><![CDATA[So this:
sudo gem install -r libxml-ruby
Gives you this:
ERROR:  Error installing libxml-ruby:
ERROR: Failed to build gem native extension.
/usr/bin/ruby1.8 extconf.rb
checking for socket() in -lsocket&#8230; no
checking for gethostbyname() in -lnsl&#8230; yes
checking for atan() in -lm&#8230; no
checking for atan() in -lm&#8230; yes
checking for inflate() in -lz&#8230; yes
checking for iconv_open() in -liconv&#8230; no
checking for libiconv_open() in -liconv&#8230; no
checking for libiconv_open() [...]]]></description>
			<content:encoded><![CDATA[<p>So this:</p>
<blockquote><p>sudo gem install -r libxml-ruby</p></blockquote>
<p>Gives you this:</p>
<blockquote><p>ERROR:  Error installing libxml-ruby:<br />
ERROR: Failed to build gem native extension.</p>
<p>/usr/bin/ruby1.8 extconf.rb<br />
checking for socket() in -lsocket&#8230; no<br />
checking for gethostbyname() in -lnsl&#8230; yes<br />
checking for atan() in -lm&#8230; no<br />
checking for atan() in -lm&#8230; yes<br />
checking for inflate() in -lz&#8230; yes<br />
checking for iconv_open() in -liconv&#8230; no<br />
checking for libiconv_open() in -liconv&#8230; no<br />
checking for libiconv_open() in -llibiconv&#8230; no<br />
checking for iconv_open() in -llibiconv&#8230; no<br />
checking for iconv_open() in -lc&#8230; yes<br />
checking for xmlParseDoc() in -lxml2&#8230; no<br />
checking for xmlParseDoc() in -llibxml2&#8230; no<br />
checking for xmlParseDoc() in -lxml2&#8230; 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 />
&#8211;with-opt-dir<br />
&#8211;without-opt-dir<br />
&#8211;with-opt-include<br />
&#8211;without-opt-include=${opt-dir}/include<br />
&#8211;with-opt-lib<br />
&#8211;without-opt-lib=${opt-dir}/lib<br />
&#8211;with-make-prog<br />
&#8211;without-make-prog<br />
&#8211;srcdir=.<br />
&#8211;curdir<br />
&#8211;ruby=/usr/bin/ruby1.8<br />
&#8211;with-iconv-dir<br />
&#8211;without-iconv-dir<br />
&#8211;with-iconv-include<br />
&#8211;without-iconv-include=${iconv-dir}/include<br />
&#8211;with-iconv-lib<br />
&#8211;without-iconv-lib=${iconv-dir}/lib<br />
&#8211;with-zlib-dir<br />
&#8211;without-zlib-dir<br />
&#8211;with-zlib-include<br />
&#8211;without-zlib-include=${zlib-dir}/include<br />
&#8211;with-zlib-lib<br />
&#8211;without-zlib-lib=${zlib-dir}/lib<br />
&#8211;with-socketlib<br />
&#8211;without-socketlib<br />
&#8211;with-nsllib<br />
&#8211;without-nsllib<br />
&#8211;with-mlib<br />
&#8211;without-mlib<br />
&#8211;with-mlib<br />
&#8211;without-mlib<br />
&#8211;with-zlib<br />
&#8211;without-zlib<br />
&#8211;with-iconvlib<br />
&#8211;without-iconvlib<br />
&#8211;with-iconvlib<br />
&#8211;without-iconvlib<br />
&#8211;with-libiconvlib<br />
&#8211;without-libiconvlib<br />
&#8211;with-libiconvlib<br />
&#8211;without-libiconvlib<br />
&#8211;with-clib<br />
&#8211;without-clib<br />
&#8211;with-xml2-config<br />
&#8211;without-xml2-config<br />
&#8211;with-xml2-dir<br />
&#8211;without-xml2-dir<br />
&#8211;with-xml2-include<br />
&#8211;without-xml2-include=${xml2-dir}/include<br />
&#8211;with-xml2-lib<br />
&#8211;without-xml2-lib=${xml2-dir}/lib<br />
&#8211;with-xml2lib<br />
&#8211;without-xml2lib<br />
&#8211;with-libxml2lib<br />
&#8211;without-libxml2lib<br />
&#8211;with-xml2lib<br />
&#8211;without-xml2lib<br />
extconf failure: need libxml2.</p>
<p>Install the library or try one of the following options to extconf.rb:</p>
<p>&#8211;with-xml2-config=/path/to/xml2-config<br />
&#8211;with-xml2-dir=/path/to/libxml2<br />
&#8211;with-xml2-lib=/path/to/libxml2/lib<br />
&#8211;with-xml2-include=/path/to/libxml2/include</p></blockquote>
<p>So, do this:</p>
<blockquote><p>sudo apt-get install libxml2-dev</p></blockquote>
<p>And this again:</p>
<blockquote><p>sudo gem install -r libxml-ruby</p></blockquote>
]]></content:encoded>
			<wfw:commentRss>http://www.techcogs.com/?feed=rss2&amp;p=380</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Free IRC client  for Mac</title>
		<link>http://www.techcogs.com/?p=373</link>
		<comments>http://www.techcogs.com/?p=373#comments</comments>
		<pubDate>Mon, 01 Feb 2010 18:32:00 +0000</pubDate>
		<dc:creator>Andrew</dc:creator>
				<category><![CDATA[Technology News]]></category>
		<category><![CDATA[IRC]]></category>
		<category><![CDATA[Mac]]></category>
		<category><![CDATA[OS X]]></category>

		<guid isPermaLink="false">http://www.techcogs.com/?p=373</guid>
		<description><![CDATA[The one thing that I miss about Linux and Windows is the number of quality Open Source projects there available.  I&#8217;m all about spending money for software.  Programmers need to eat too.  But if I&#8217;m spending money, I would like a little support.  And as I was researching a few IRC clients &#8211; most wanted [...]]]></description>
			<content:encoded><![CDATA[<p>The one thing that I miss about Linux and Windows is the number of quality Open Source projects there available.  I&#8217;m all about spending money for software.  Programmers need to eat too.  But if I&#8217;m spending money, I would like a little support.  And as I was researching a few IRC clients &#8211; most wanted money &#8211; little talked about what they offered for support.  Not to mention &#8211; some haven&#8217;t been updated in years.</p>
<p>So, I came across this product &#8211; <a href="http://limechat.net/mac/" target="_blank">LimeChat</a>.  At least it gets me to the point where I can ask what everyone recommends.</p>
<p>I&#8217;ll post more info later, if I decide to switch to another product or let you know how this one is working out.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.techcogs.com/?feed=rss2&amp;p=373</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
