<?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>LolocoJr &#187; postgresql ruby gem leopard</title>
	<atom:link href="http://www.railsguru.com/articles/tag/postgresql-ruby-gem-leopard/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.railsguru.com</link>
	<description>Andy Lo-A-Foe&#039;s blog</description>
	<lastBuildDate>Fri, 09 Jul 2010 12:08:16 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0</generator>
		<item>
		<title>Installing new Ruby postgresql adapter on Leopard</title>
		<link>http://www.railsguru.com/articles/2009/06/05/installing-new-ruby-postgresql-adapter-on-leopard/</link>
		<comments>http://www.railsguru.com/articles/2009/06/05/installing-new-ruby-postgresql-adapter-on-leopard/#comments</comments>
		<pubDate>Fri, 05 Jun 2009 12:04:51 +0000</pubDate>
		<dc:creator>andy</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[postgresql ruby gem leopard]]></category>

		<guid isPermaLink="false">http://www.railsguru.com/?p=4547</guid>
		<description><![CDATA[<p>I need to fix a project which uses PostgreSQL. On a fresh Leopard install with postgresql 8.3 installed from ports I ran into this problem:</p>
$ sudo gem install pg
Building native extensions.  This could take a while...
ERROR:  Error installing ruby-pg:
ERROR: Failed to build gem native extension.
<p>The solution is quite simply. Just make sure pg_config can be [...]]]></description>
			<content:encoded><![CDATA[<p>I need to fix a project which uses PostgreSQL. On a fresh Leopard install with postgresql 8.3 installed from ports I ran into this problem:</p>
<pre>$ sudo gem install pg
Building native extensions.  This could take a while...
ERROR:  Error installing ruby-pg:
ERROR: Failed to build gem native extension.</pre>
<p>The solution is quite simply. Just make sure pg_config can be found by the gem installer.</p>
<pre>$ mdfind pg_config|grep bin|uniq
/opt/local/lib/postgresql83/bin/pg_config</pre>
<p>In this case make sure /opt/local/lib/postgresql/bin is available in the path when executing the gem command</p>
<pre>$ PATH=/opt/local/lib/postgresql83/bin:$PATH sudo gem install pg</pre>
]]></content:encoded>
			<wfw:commentRss>http://www.railsguru.com/articles/2009/06/05/installing-new-ruby-postgresql-adapter-on-leopard/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
