<?xml version='1.0' encoding='UTF-8'?><?xml-stylesheet href="http://www.blogger.com/styles/atom.css" type="text/css"?><feed xmlns='http://www.w3.org/2005/Atom' xmlns:openSearch='http://a9.com/-/spec/opensearchrss/1.0/'><id>tag:blogger.com,1999:blog-3958627136570980537.post8056230174959019456..comments</id><updated>2010-07-22T15:17:23.802-07:00</updated><category term='bottleneck'/><category term='discussion'/><category term='astronomy'/><category term='postgres'/><category term='cli'/><category term='news'/><category term='web'/><category term='prototypical'/><category term='bugs'/><category term='modern'/><category term='development'/><category term='solving'/><category term='how to'/><category term='column'/><category term='debate'/><category term='train'/><category term='corporate'/><category term='iphone'/><category term='gem'/><category term='rails'/><category term='railroad'/><category term='sales'/><category term='video'/><category term='review'/><category term='rant'/><category term='generator'/><category term='poro'/><category term='security'/><category term='rdoc'/><category term='philosophy'/><category term='editor'/><category term='report'/><category term='1.9.1'/><category term='software'/><category term='persistence'/><category term='1.8.5'/><category term='marketing'/><category term='design'/><category term='rail'/><category term='pluto'/><category term='biography'/><category term='error'/><category term='widget'/><category term='subversion'/><category term='svn'/><category term='ruby'/><category term='space'/><category term='locomotive'/><category term='planet'/><category term='mongo'/><category term='spec'/><category term='apple'/><category term='passphrase'/><category term='legacy'/><category term='blender'/><category term='bnsf'/><category term='HO'/><category term='crime'/><category term='leopard'/><category term='planning'/><category term='kiss'/><category term='physics'/><category term='code'/><category term='observatory'/><category term='repository'/><category term='identifier'/><category term='science'/><category term='anecdote'/><category term='apache'/><category term='linux'/><category term='scale'/><category term='reload'/><category term='programming'/><category term='10.5'/><category term='name'/><category term='refresh'/><category term='simple'/><category term='dashboard'/><category term='ego'/><category term='tip'/><category term='apache2'/><category term='time'/><category term='essay'/><category term='ruby on rails'/><category term='bio'/><category term='fan'/><category term='layering'/><category term='sql'/><category term='unix'/><category term='hobby'/><category term='languages'/><category term='microsoft'/><category term='nomemoryerror'/><category term='server'/><category term='exception'/><category term='id'/><category term='article'/><category term='accessor'/><category term='model'/><category term='fear'/><category term='password'/><title type='text'>Comments on blog.PaplooTheLearned.net: Tip: Compiling the Postgres Gem for Ruby 1.9.1</title><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://blog.paploo.net/feeds/8056230174959019456/comments/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3958627136570980537/8056230174959019456/comments/default'/><link rel='alternate' type='text/html' href='http://blog.paploo.net/2009/05/tip-compiling-postgres-gem-for-ruby-191.html'/><author><name>Paploo</name><uri>http://www.blogger.com/profile/05918964938891806436</uri><email>noreply@blogger.com</email><gd:image xmlns:gd='http://schemas.google.com/g/2005' rel='http://schemas.google.com/g/2005#thumbnail' width='27' height='32' src='http://www.paploo.net/me/img/jeff.jpg'/></author><generator version='7.00' uri='http://www.blogger.com'>Blogger</generator><openSearch:totalResults>8</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>25</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-3958627136570980537.post-1138952166916942725</id><published>2010-07-22T15:17:23.802-07:00</published><updated>2010-07-22T15:17:23.802-07:00</updated><title type='text'>i tried ruby-pg and i applied the explanation abov...</title><content type='html'>i tried ruby-pg and i applied the explanation above and works fine.&lt;br /&gt;&lt;br /&gt;thanks</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3958627136570980537/8056230174959019456/comments/default/1138952166916942725'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3958627136570980537/8056230174959019456/comments/default/1138952166916942725'/><link rel='alternate' type='text/html' href='http://blog.paploo.net/2009/05/tip-compiling-postgres-gem-for-ruby-191.html?showComment=1279837043802#c1138952166916942725' title=''/><author><name>dafevara</name><uri>http://www.blogger.com/profile/13361054365360990305</uri><email>noreply@blogger.com</email><gd:image xmlns:gd='http://schemas.google.com/g/2005' rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='http://blog.paploo.net/2009/05/tip-compiling-postgres-gem-for-ruby-191.html' ref='tag:blogger.com,1999:blog-3958627136570980537.post-8056230174959019456' source='http://www.blogger.com/feeds/3958627136570980537/posts/default/8056230174959019456' type='text/html'/><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='blogger.itemClass' value='pid-1318200503'/></entry><entry><id>tag:blogger.com,1999:blog-3958627136570980537.post-1881943169193834657</id><published>2010-05-11T10:12:03.281-07:00</published><updated>2010-05-11T10:12:03.281-07:00</updated><title type='text'>@val2many: Yeah, I figured that out after getting ...</title><content type='html'>@val2many: Yeah, I figured that out after getting a bug report reply from the pg team.  I edited the the post about 6 months ago with a note at the top bout that.  :)</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3958627136570980537/8056230174959019456/comments/default/1881943169193834657'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3958627136570980537/8056230174959019456/comments/default/1881943169193834657'/><link rel='alternate' type='text/html' href='http://blog.paploo.net/2009/05/tip-compiling-postgres-gem-for-ruby-191.html?showComment=1273597923281#c1881943169193834657' title=''/><author><name>Paploo</name><uri>http://www.blogger.com/profile/05918964938891806436</uri><email>noreply@blogger.com</email><gd:image xmlns:gd='http://schemas.google.com/g/2005' rel='http://schemas.google.com/g/2005#thumbnail' width='27' height='32' src='http://www.paploo.net/me/img/jeff.jpg'/></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='http://blog.paploo.net/2009/05/tip-compiling-postgres-gem-for-ruby-191.html' ref='tag:blogger.com,1999:blog-3958627136570980537.post-8056230174959019456' source='http://www.blogger.com/feeds/3958627136570980537/posts/default/8056230174959019456' type='text/html'/><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='blogger.itemClass' value='pid-881600252'/></entry><entry><id>tag:blogger.com,1999:blog-3958627136570980537.post-1536599740757041849</id><published>2010-05-11T00:09:53.229-07:00</published><updated>2010-05-11T00:09:53.229-07:00</updated><title type='text'>&amp;quot;gem install pg&amp;quot; works for me on Debian ...</title><content type='html'>&amp;quot;gem install pg&amp;quot; works for me on Debian with no trouble at all.&lt;br /&gt;You probably figured, but I thought I&amp;#39;d mention ...</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3958627136570980537/8056230174959019456/comments/default/1536599740757041849'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3958627136570980537/8056230174959019456/comments/default/1536599740757041849'/><link rel='alternate' type='text/html' href='http://blog.paploo.net/2009/05/tip-compiling-postgres-gem-for-ruby-191.html?showComment=1273561793229#c1536599740757041849' title=''/><author><name>val2many</name><uri>http://www.blogger.com/profile/15164564602871042864</uri><email>noreply@blogger.com</email><gd:image xmlns:gd='http://schemas.google.com/g/2005' rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='http://blog.paploo.net/2009/05/tip-compiling-postgres-gem-for-ruby-191.html' ref='tag:blogger.com,1999:blog-3958627136570980537.post-8056230174959019456' source='http://www.blogger.com/feeds/3958627136570980537/posts/default/8056230174959019456' type='text/html'/><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='blogger.itemClass' value='pid-345914096'/></entry><entry><id>tag:blogger.com,1999:blog-3958627136570980537.post-7353195042292015592</id><published>2010-02-04T18:35:11.813-08:00</published><updated>2010-02-04T18:35:11.813-08:00</updated><title type='text'>@Anonymous on February 4, 2010 6:18 PM:

It sounds...</title><content type='html'>@Anonymous on February 4, 2010 6:18 PM:&lt;br /&gt;&lt;br /&gt;It sounds like you have a conflict going on.  You may want to remove all instances of the previous postgres gem and see if that makes pg work.  (I&amp;#39;d advise switching to it if you can!)&lt;br /&gt;&lt;br /&gt;If it is still overriding, it is also possible that there is an installation of a postgres gem in an odd place that is overriding yours.  (This sounds odd, but I&amp;#39;ve seen this happen on non-standard installs).</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3958627136570980537/8056230174959019456/comments/default/7353195042292015592'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3958627136570980537/8056230174959019456/comments/default/7353195042292015592'/><link rel='alternate' type='text/html' href='http://blog.paploo.net/2009/05/tip-compiling-postgres-gem-for-ruby-191.html?showComment=1265337311813#c7353195042292015592' title=''/><author><name>Paploo</name><uri>http://www.blogger.com/profile/05918964938891806436</uri><email>noreply@blogger.com</email><gd:image xmlns:gd='http://schemas.google.com/g/2005' rel='http://schemas.google.com/g/2005#thumbnail' width='27' height='32' src='http://www.paploo.net/me/img/jeff.jpg'/></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='http://blog.paploo.net/2009/05/tip-compiling-postgres-gem-for-ruby-191.html' ref='tag:blogger.com,1999:blog-3958627136570980537.post-8056230174959019456' source='http://www.blogger.com/feeds/3958627136570980537/posts/default/8056230174959019456' type='text/html'/><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='blogger.itemClass' value='pid-881600252'/></entry><entry><id>tag:blogger.com,1999:blog-3958627136570980537.post-9121742985602366094</id><published>2010-02-04T18:18:32.094-08:00</published><updated>2010-02-04T18:18:32.094-08:00</updated><title type='text'>Amazingly enough (or not?) I was doing a fresh ins...</title><content type='html'>Amazingly enough (or not?) I was doing a fresh install with pg and was still getting the error.&lt;br /&gt;&lt;br /&gt;Well, I should say that installing pg worked fine, but when trying to start rails I kept getting a pg does not exist error. But both pg and postgres show the exact same gem when installed. Paths are set correctly, etc.&lt;br /&gt;&lt;br /&gt;So I ran your patch and now my server boots fine. Go figure!&lt;br /&gt;&lt;br /&gt;Either way, thank you!</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3958627136570980537/8056230174959019456/comments/default/9121742985602366094'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3958627136570980537/8056230174959019456/comments/default/9121742985602366094'/><link rel='alternate' type='text/html' href='http://blog.paploo.net/2009/05/tip-compiling-postgres-gem-for-ruby-191.html?showComment=1265336312094#c9121742985602366094' title=''/><author><name>Anonymous</name><email>noreply@blogger.com</email><gd:image xmlns:gd='http://schemas.google.com/g/2005' rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img1.blogblog.com/img/blank.gif'/></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='http://blog.paploo.net/2009/05/tip-compiling-postgres-gem-for-ruby-191.html' ref='tag:blogger.com,1999:blog-3958627136570980537.post-8056230174959019456' source='http://www.blogger.com/feeds/3958627136570980537/posts/default/8056230174959019456' type='text/html'/><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='blogger.itemClass' value='pid-1150997322'/></entry><entry><id>tag:blogger.com,1999:blog-3958627136570980537.post-3078021074994854727</id><published>2009-09-24T12:55:06.575-07:00</published><updated>2009-09-24T12:55:06.575-07:00</updated><title type='text'>You can use &amp;#39;sed -i&amp;#39; to edit a file in pla...</title><content type='html'>You can use &amp;#39;sed -i&amp;#39; to edit a file in place. No need to type the filename twice.</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3958627136570980537/8056230174959019456/comments/default/3078021074994854727'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3958627136570980537/8056230174959019456/comments/default/3078021074994854727'/><link rel='alternate' type='text/html' href='http://blog.paploo.net/2009/05/tip-compiling-postgres-gem-for-ruby-191.html?showComment=1253822106575#c3078021074994854727' title=''/><author><name>Anonymous</name><email>noreply@blogger.com</email><gd:image xmlns:gd='http://schemas.google.com/g/2005' rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img1.blogblog.com/img/blank.gif'/></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='http://blog.paploo.net/2009/05/tip-compiling-postgres-gem-for-ruby-191.html' ref='tag:blogger.com,1999:blog-3958627136570980537.post-8056230174959019456' source='http://www.blogger.com/feeds/3958627136570980537/posts/default/8056230174959019456' type='text/html'/><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='blogger.itemClass' value='pid-227058162'/></entry><entry><id>tag:blogger.com,1999:blog-3958627136570980537.post-6609971906764763928</id><published>2009-08-28T07:52:21.937-07:00</published><updated>2009-08-28T07:52:21.937-07:00</updated><title type='text'>In response to lobo:

All you need to do to get th...</title><content type='html'>In response to lobo:&lt;br /&gt;&lt;br /&gt;All you need to do to get this running on Ubuntu 9.04 is direct the sed commands to temporary files and then move them over the originals. &lt;br /&gt;&lt;br /&gt;$ cd /usr/local/lib/ruby/gems/1.9.1/gems/postgres-0.7.9.2008.01.28/ext&lt;br /&gt;$ sudo sed &amp;quot;s/PLATFORM/RUBY_PLATFORM/&amp;quot; extconf.rb &amp;gt; ./extconf.bck&lt;br /&gt;$ sudo mv extconf.bck extconf.rb&lt;br /&gt;$ sudo ruby extconf.rb&lt;br /&gt;$ sudo sed &amp;quot;s/RARRAY(\([_a-zA-Z0-9]*\))-&amp;gt;ptr/RARRAY_PTR(\1)/; s/RARRAY(\([_a-zA-Z0-9]*\))-&amp;gt;len/RARRAY_LEN(\1)/; s/row-&amp;gt;len/RARRAY_LEN(row)/; s/row-&amp;gt;ptr/RARRAY_PTR(row)/&amp;quot; postgres.c &amp;gt; ./postgres.bck&lt;br /&gt;$ sudo mv postgres.bck postgres.c&lt;br /&gt;$ sudo make&lt;br /&gt;$ sudo make install&lt;br /&gt;&lt;br /&gt;Thanks for advice on how to get this working Paploo, very handy.</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3958627136570980537/8056230174959019456/comments/default/6609971906764763928'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3958627136570980537/8056230174959019456/comments/default/6609971906764763928'/><link rel='alternate' type='text/html' href='http://blog.paploo.net/2009/05/tip-compiling-postgres-gem-for-ruby-191.html?showComment=1251471141937#c6609971906764763928' title=''/><author><name>Paul</name><uri>http://www.blogger.com/profile/10224460206314827394</uri><email>noreply@blogger.com</email><gd:image xmlns:gd='http://schemas.google.com/g/2005' rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='http://blog.paploo.net/2009/05/tip-compiling-postgres-gem-for-ruby-191.html' ref='tag:blogger.com,1999:blog-3958627136570980537.post-8056230174959019456' source='http://www.blogger.com/feeds/3958627136570980537/posts/default/8056230174959019456' type='text/html'/><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='blogger.itemClass' value='pid-1977648940'/></entry><entry><id>tag:blogger.com,1999:blog-3958627136570980537.post-6372946323840893812</id><published>2009-07-26T16:39:14.751-07:00</published><updated>2009-07-26T16:39:14.751-07:00</updated><title type='text'>I had to chmod my extconf.rb file so I can write i...</title><content type='html'>I had to chmod my extconf.rb file so I can write in it (sudo wouldn&amp;#39;t cut it).&lt;br /&gt;&lt;br /&gt;After that, the first sed command, truncates the file to 0 bytes.&lt;br /&gt;&lt;br /&gt;I&amp;#39;m on Ubuntu 9.04, do you know what&amp;#39;s going on?</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3958627136570980537/8056230174959019456/comments/default/6372946323840893812'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3958627136570980537/8056230174959019456/comments/default/6372946323840893812'/><link rel='alternate' type='text/html' href='http://blog.paploo.net/2009/05/tip-compiling-postgres-gem-for-ruby-191.html?showComment=1248651554751#c6372946323840893812' title=''/><author><name>lobo_tuerto</name><uri>http://blog.lobotuerto.com</uri><email>noreply@blogger.com</email><gd:image xmlns:gd='http://schemas.google.com/g/2005' rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img1.blogblog.com/img/blank.gif'/></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='http://blog.paploo.net/2009/05/tip-compiling-postgres-gem-for-ruby-191.html' ref='tag:blogger.com,1999:blog-3958627136570980537.post-8056230174959019456' source='http://www.blogger.com/feeds/3958627136570980537/posts/default/8056230174959019456' type='text/html'/><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='blogger.itemClass' value='pid-971138856'/></entry></feed>
