# COOK-1406 - Fixed!

**URL:** <https://discourse.chef.io/t/cook-1406-fixed/3349>\
**Category:** Chef Infra (archive)\
**Created:** [November 28, 2012, 11:49pm UTC](https://discourse.chef.io/t/cook-1406-fixed/3349 "2012-11-28T23:49:30Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Joshua\_Timberman](https://sea2.discourse-cdn.com/flex016/user_avatar/discourse.chef.io/joshua_timberman/32/424_2.png) [@Joshua\_Timberman](https://discourse.chef.io/u/Joshua_Timberman)\
**Post date:** [November 28, 2012, 11:49pm UTC](https://discourse.chef.io/t/cook-1406-fixed/3349/1 "2012-11-28T23:49:30Z")

</div>

Ohai Chefs!

Thanks to Chris Roberts at Heavy Water, COOK-1406 is fixed!

We’ve released version 2.0.2 of the postgresql cookbook with the fix.

The fix involves rescuing the chef\_gem install of the pg gem, and then  
manipulating the Ruby extension configuration so it finds the correct  
library paths to build the gem, using the system packages.

The “compile libpq from source and install in Omnibus” is _not_ required  
for this. Yay!

Additionally, the git repository is updated for test-kitchen, as we  
weren’t testing the ruby recipe, since it failed on Ubuntu.

Thanks Chris, and Heavy Water, for your contribution. This is awesome.

–  
Opscode, Inc  
Joshua Timberman, Technical Community Manager  
IRC, Skype, Twitter, Github: jtimberman

---

<div class="post-metadata">

**Author:** ![James](https://sea2.discourse-cdn.com/flex016/user_avatar/discourse.chef.io/james/32/232_2.png) [@James](https://discourse.chef.io/u/James)\
**Post date:** [November 29, 2012, 12:32am UTC](https://discourse.chef.io/t/cook-1406-fixed/3349/2 "2012-11-29T00:32:56Z")

</div>

Thanks a lot Chris! This was a super annoying problem.

James

On Wed, Nov 28, 2012 at 3:49 PM, Joshua Timberman [joshua@opscode.com](mailto:joshua@opscode.com)wrote:

> Ohai Chefs!
> 
> Thanks to Chris Roberts at Heavy Water, COOK-1406 is fixed!
> 
> We've released version 2.0.2 of the postgresql cookbook with the fix.
> 
> The fix involves rescuing the chef\_gem install of the pg gem, and then  
> manipulating the Ruby extension configuration so it finds the correct  
> library paths to build the gem, using the system packages.
> 
> The "compile libpq from source and install in Omnibus" is _not_ required  
> for this. Yay!
> 
> Additionally, the git repository is updated for test-kitchen, as we  
> weren't testing the ruby recipe, since it failed on Ubuntu.
> 
> Thanks Chris, and Heavy Water, for your contribution. This is awesome.
> 
> --  
> Opscode, Inc  
> Joshua Timberman, Technical Community Manager  
> IRC, Skype, Twitter, Github: jtimberman

---

<div class="post-metadata">

**Author:** ![Gregory\_Symons](https://sea2.discourse-cdn.com/flex016/user_avatar/discourse.chef.io/gregory_symons/32/189_2.png) [@Gregory\_Symons](https://discourse.chef.io/u/Gregory_Symons)\
**Post date:** [November 29, 2012, 2:14am UTC](https://discourse.chef.io/t/cook-1406-fixed/3349/3 "2012-11-29T02:14:55Z")

</div>

Awesome. Now I just need to get us back in sync with upstream.

Greg Symons

Sent from my IPad

On Nov 28, 2012, at 6:32 PM, “James” \<[js@aegisco.com](mailto:js@aegisco.com)[mailto:js@aegisco.com](mailto:js@aegisco.com)\> wrote:

Thanks a lot Chris! This was a super annoying problem.

James

On Wed, Nov 28, 2012 at 3:49 PM, Joshua Timberman \<[joshua@opscode.com](mailto:joshua@opscode.com)[mailto:joshua@opscode.com](mailto:joshua@opscode.com)\> wrote:  
Ohai Chefs!

Thanks to Chris Roberts at Heavy Water, COOK-1406 is fixed!

We’ve released version 2.0.2 of the postgresql cookbook with the fix.

The fix involves rescuing the chef\_gem install of the pg gem, and then  
manipulating the Ruby extension configuration so it finds the correct  
library paths to build the gem, using the system packages.

The “compile libpq from source and install in Omnibus” is _not_ required  
for this. Yay!

Additionally, the git repository is updated for test-kitchen, as we  
weren’t testing the ruby recipe, since it failed on Ubuntu.

Thanks Chris, and Heavy Water, for your contribution. This is awesome.

–  
Opscode, Inc  
Joshua Timberman, Technical Community Manager  
IRC, Skype, Twitter, Github: jtimberman
