<?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/"
	xmlns:series="http://unfoldingneurons.com/"
	>

<channel>
	<title>Shane Sveller &#187; gem</title>
	<atom:link href="http://shanesveller.com/tag/gem/feed/" rel="self" type="application/rss+xml" />
	<link>http://shanesveller.com</link>
	<description>Somewhere between happy and total f**king wreck</description>
	<lastBuildDate>Thu, 07 Jan 2010 18:31:09 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=abc</generator>
		<item>
		<title>Building libxml-ruby gem on Ubuntu Hardy</title>
		<link>http://shanesveller.com/2008/07/14/building-libxml-ruby-gem-on-ubuntu-hardy/?utm_source=rss&amp;utm_medium=rss&amp;utm_campaign=building-libxml-ruby-gem-on-ubuntu-hardy</link>
		<comments>http://shanesveller.com/2008/07/14/building-libxml-ruby-gem-on-ubuntu-hardy/#comments</comments>
		<pubDate>Mon, 14 Jul 2008 17:07:39 +0000</pubDate>
		<dc:creator>Shane</dc:creator>
				<category><![CDATA[Computers]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Programming]]></category>
		<category><![CDATA[Rails]]></category>
		<category><![CDATA[bugfix]]></category>
		<category><![CDATA[gem]]></category>
		<category><![CDATA[libxml]]></category>
		<category><![CDATA[ruby]]></category>

		<guid isPermaLink="false">http://shanesveller.com/?p=61</guid>
		<description><![CDATA[<pre>no such file to load -- libxml_so</pre>
<br/>
<pre>sudo apt-get install libxml2 libxml2-dev
cd /usr/lib/ruby/gems/1.8/gems/libxml-ruby-0.7.0
sudo ruby ext/libxml/extconf.rb
sudo make; sudo make install</pre>]]></description>
			<content:encoded><![CDATA[<p>Source: <a href="http://mrtibs.blogspot.com/2008/03/ubuntu-no-such-file-to-load-libxmlso.html" target="_blank">Tibs&#8217; Blog</a></p>
<p>I had been having a lot of trouble using libxml-ruby on Ubuntu Hardy for a hobby project of mine. Any task including libxml calls via <code>require 'xml/libxml'</code> fails with the message:</p>
<pre>no such file to load -- libxml_so</pre>
<p><span id="more-35"></span><br />
To solve this:</p>
<pre class="brush: bash">
sudo apt-get install libxml2 libxml2-dev
cd /usr/lib/ruby/gems/1.8/gems/libxml-ruby-0.7.0
sudo ruby ext/libxml/extconf.rb
sudo make; sudo make install
</pre>
]]></content:encoded>
			<wfw:commentRss>http://shanesveller.com/2008/07/14/building-libxml-ruby-gem-on-ubuntu-hardy/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
		<item>
		<title>Installing id3lib-ruby gem on OSX Leopard with id3lib from MacPorts</title>
		<link>http://shanesveller.com/2008/07/08/installing-id3lib-ruby-gem-on-osx-leopard-with-id3lib-from-macports/?utm_source=rss&amp;utm_medium=rss&amp;utm_campaign=installing-id3lib-ruby-gem-on-osx-leopard-with-id3lib-from-macports</link>
		<comments>http://shanesveller.com/2008/07/08/installing-id3lib-ruby-gem-on-osx-leopard-with-id3lib-from-macports/#comments</comments>
		<pubDate>Tue, 08 Jul 2008 19:29:34 +0000</pubDate>
		<dc:creator>Shane</dc:creator>
				<category><![CDATA[Computers]]></category>
		<category><![CDATA[Programming]]></category>
		<category><![CDATA[Rails]]></category>
		<category><![CDATA[gem]]></category>
		<category><![CDATA[id3]]></category>
		<category><![CDATA[leopard]]></category>
		<category><![CDATA[OSX]]></category>
		<category><![CDATA[ruby]]></category>

		<guid isPermaLink="false">http://shanesveller.com/?p=58</guid>
		<description><![CDATA[<pre>sudo port install id3lib
sudo ARCHFLAGS="-arch i386" gem install id3lib-ruby -- --build-flags --with-opt-dir=/opt/local</pre>]]></description>
			<content:encoded><![CDATA[<p>Source: <a href="http://www.johnwulff.com/articles/2008/03/16/install-id3lib-ruby-gem-on-os-x-leopard">John Wulff</a> and comments</p>
<pre class="brush: bash">sudo port install id3lib
sudo ARCHFLAGS=&quot;-arch i386&quot; gem install id3lib-ruby -- --build-flags --with-opt-dir=/opt/local</pre>
]]></content:encoded>
			<wfw:commentRss>http://shanesveller.com/2008/07/08/installing-id3lib-ruby-gem-on-osx-leopard-with-id3lib-from-macports/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>MySQL ruby gem with MacPorts MySQL</title>
		<link>http://shanesveller.com/2008/06/13/mysql-ruby-gem-with-macports-mysql/?utm_source=rss&amp;utm_medium=rss&amp;utm_campaign=mysql-ruby-gem-with-macports-mysql</link>
		<comments>http://shanesveller.com/2008/06/13/mysql-ruby-gem-with-macports-mysql/#comments</comments>
		<pubDate>Fri, 13 Jun 2008 20:24:28 +0000</pubDate>
		<dc:creator>Shane</dc:creator>
				<category><![CDATA[OSX]]></category>
		<category><![CDATA[Programming]]></category>
		<category><![CDATA[Rails]]></category>
		<category><![CDATA[database]]></category>
		<category><![CDATA[gem]]></category>
		<category><![CDATA[mysql]]></category>
		<category><![CDATA[ruby]]></category>

		<guid isPermaLink="false">http://shanesveller.com/?p=53</guid>
		<description><![CDATA[<pre>sudo env ARCHFLAGS="-arch i386" gem install mysql -- --with-mysql-include=/opt/local/include/mysql5 --with-mysql-lib=/opt/local/lib/mysql5 --with-mysql-config=/opt/local/lib/mysql5/bin/mysql_config</pre>]]></description>
			<content:encoded><![CDATA[<pre class="brush: bash">sudo env ARCHFLAGS=&quot;-arch i386&quot; gem install mysql -- --with-mysql-include=/opt/local/include/mysql5 --with-mysql-lib=/opt/local/lib/mysql5 --with-mysql-config=/opt/local/lib/mysql5/bin/mysql_config</pre>
<p>This worked for me with mysql installed via macports by the command:</p>
<pre class="brush: bash">sudo port install mysql5 +server</pre>
<p>Source: <a href="http://codeintensity.blogspot.com/2007/09/installing-ruby-mysql-gem-with-macports.html">Code Intensity</a></p>
]]></content:encoded>
			<wfw:commentRss>http://shanesveller.com/2008/06/13/mysql-ruby-gem-with-macports-mysql/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Memcached and memcached gem on Leopard</title>
		<link>http://shanesveller.com/2008/03/31/memcached-and-memcached-gem-on-leopard/?utm_source=rss&amp;utm_medium=rss&amp;utm_campaign=memcached-and-memcached-gem-on-leopard</link>
		<comments>http://shanesveller.com/2008/03/31/memcached-and-memcached-gem-on-leopard/#comments</comments>
		<pubDate>Tue, 01 Apr 2008 02:10:13 +0000</pubDate>
		<dc:creator>Shane</dc:creator>
				<category><![CDATA[Computers]]></category>
		<category><![CDATA[OSX]]></category>
		<category><![CDATA[Programming]]></category>
		<category><![CDATA[Rails]]></category>
		<category><![CDATA[caching]]></category>
		<category><![CDATA[gem]]></category>
		<category><![CDATA[leopard]]></category>
		<category><![CDATA[memcached]]></category>
		<category><![CDATA[ruby]]></category>

		<guid isPermaLink="false">http://shanesveller.com/?p=31</guid>
		<description><![CDATA[<ul>
<pre>sudo port install memcached libmemcached
sudo env ARCHFLAGS="-arch i386" gem install memcached -- --with-rlibmemcached-include=/opt/local/include --with-rlibmemcached-lib=/opt/local/lib</pre>]]></description>
			<content:encoded><![CDATA[<p>In the pursuit of utilizing memcached on my 2008 MacBook with Leopard, I&#8217;ve been stuck for a while trying to get the <code>memcached</code> gem to compile and install properly using memcached installed through <a href="http://www.macports.org/">MacPorts</a>.<br />
<span id="more-16"></span><br />
After stumbling upon the proper procedure at the <a href="http://peleteiro.net/memcached-libmemcached-and-rubys-libmemcached-on-leopard-2008-02-15">Peleteiro blog</a>, I finally noticed that it&#8217;s actually in the <a href="http://blog.evanweaver.com/files/doc/fauna/memcached/files/README.html">memcached gem docs</a>.</p>
<p>Anyhow, here&#8217;s the proper procedure for installing memcached and the gem on Leopard:</p>
<ul>
<li><code>sudo port install memcached libmemcached</code></li>
<li><code>sudo env ARCHFLAGS="-arch i386" gem install memcached -- --with-rlibmemcached-include=/opt/local/include --with-rlibmemcached-lib=/opt/local/lib</code></li>
</ul>
<p>I might later look into trying <a href="http://blog.evanweaver.com/files/doc/fauna/interlock/files/README.html">interlock</a> or <a href="http://github.com/defunkt/cache_fu/tree/master">cache_fu</a>, or following some/all of <a href="http://blog.rayvinly.com/articles/2007/11/29/setting-up-ruby-on-rails-with-mysql-on-mac-os-x-10-5-leopard">these direction</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://shanesveller.com/2008/03/31/memcached-and-memcached-gem-on-leopard/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
	</channel>
</rss>
