Created
April 5, 2013 21:40
-
-
Save leemour/5322848 to your computer and use it in GitHub Desktop.
Setting environment for rake
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
Hey guys, sorry to bother but I figure while I have your attention.. I'm having trouble initializing my production & test databases. I'm using Postgres, but whenever I run migrate or reload, it automatically does it on the development database. This is problematic when I run padrino rake test. | |
So I tried doing padrino rake ar:drop:all and then padrino rake ar:create:all, and this does work.. only there seems to be no corresponding padrino rake ar:migrate:all. What do I do instead? | |
Oh! padrino rake ar:migrate -e test |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment