How to install gem pg on snow leopard

Posted by dorelal on Stack Overflow See other posts from Stack Overflow or by dorelal
Published on 2010-04-16T23:10:50Z Indexed on 2010/04/16 23:13 UTC
Read the original article Hit count: 274

Filed under:
|

I need to install gem pg on snow leopard because I am running rake on rails codebase. I am not using postgres.

This is the error I am getting.

$ sudo gem install pg Password: Sorry, try again. Password: Building native extensions. This could take a while... ERROR: Error installing pg: ERROR: Failed to build gem native extension.

looked at various blogs from google search but none of them works.

© Stack Overflow or respective owner

Related posts about ruby-on-rails

Related posts about postgresql