Created
October 8, 2012 19:13
-
-
Save DFrenkel/3854314 to your computer and use it in GitHub Desktop.
Fix PG Gem on Mac OS X
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 cp /Library/PostgreSQL/9.1/lib/libssl.1.0.0.dylib /usr/lib/ | |
sudo cp /Library/PostgreSQL/9.1/lib/libcrypto.1.0.0.dylib /usr/lib/ | |
sudo rm /usr/lib/libssl.dylib | |
sudo rm /usr/lib/libcrypto.dylib | |
sudo ln -s /usr/lib/libssl.1.0.0.dylib /usr/lib/libssl.dylib | |
sudo ln -s /usr/lib/libcrypto.1.0.0.dylib /usr/lib/libcrypto.dylib | |
gem uninstall pg | |
gem install pg |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment