Created
April 26, 2011 02:31
-
-
Save skull-squadron/941686 to your computer and use it in GitHub Desktop.
Build pg gem with macports, rvm and postgresql 9.0.3 running locally
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
sudo port install postgresql90 postgresql90-server | |
env ARCHFLAGS="-arch x86_64" \ | |
gem install pg -- \ | |
--with-pg-include=/usr/local/include/postgresql90/ \ | |
--with-pg-lib=/usr/local/lib/postgresql90/ \ | |
--with-pg-config=/opt/local/lib/postgresql90/bin/pg_config |
Untested with JRuby.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Successful output: