sudo apt-get install postgresql sudo apt-get install postgresql-server-dev-all #Create a user account for postgresql, and a database with the name of your user account sudo -u postgres createuser --superuser myUbuntuUsername sudo -u postgres psql postgres=# \password myUbuntuUsername \q createdb myUbuntuUsername #Check that your postgres useraccount was setup properly psql \du
Use require
'dm-core'instead of
require 'datamapper'http://devcenter.heroku.com/articles/database
Keep test and production gems separate:
http://yehudakatz.com/2010/05/09/the-how-and-why-of-bundler-groups/
No comments:
Post a Comment