Created
November 15, 2013 23:37
-
-
Save markfeedly/7493601 to your computer and use it in GitHub Desktop.
fix for bad db with rails-composer
http://railsapps.github.io/rails-composer/
This file contains hidden or 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
less config/database.yml | |
sudo -u postgres dropuser virtual-museum | |
sudo -u postgres createuser virtual-museum | |
sudo -u postgres psql | |
rake db:create:all db:migrate db:test:prepare db:seed # que? | |
sudo -u postgres psql | |
vim config/database.yml | |
rake db:create:all db:migrate db:test:prepare db:seed | |
rails s |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment