Required Commands I had to run the following in order to get pg working in my dev environment (Macbook) $ sudo env ARCHFLAGS="-arch x86_64" gem install pg $ rake db:create