Created
May 15, 2010 17:21
-
-
Save railsfactory/402297 to your computer and use it in GitHub Desktop.
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
for OS X | |
brew install postgresql | |
env ARCHFLAGS="-arch x86_64" gem install postgres | |
createdb -T template0 -E UTF8 activerecord_unittest | |
createdb -T template0 -E UTF8 activerecord_unittest2 | |
for ubuntu | |
#sudo apt-get update | |
#sudo apt-get upgrade | |
#sudo apt-get install aptitude | |
#sudo aptitude install build-essential | |
sudo aptitude install postgresql postgresql-client libpq-dev ruby1.8-dev | |
gem install postgres | |
cloning rails repository and running tests | |
git clone git://github.com/rails/rails.git | |
cd rails/activerecord | |
rake test_postgresql |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment