ruby - Rake migrate Error - database doesn't exist -
i have padrino project uses data mapper , postgres. when run padrino rake dm:create says database created. however, when run padrino rake dm:auto:migrate, error - fatal: database "dbname_development" not exist.
i'm working in new environment tried project have uses active record , had no problem.
i'm using postgres app on osx , rbenv. although, did try rvm instead of rbenv since other computer uses rvm (the project works fine on computer) - same result. tried connecting created database induction , got same error. if go psql though , list of databases, database shows up.
i'm sort of stumped since activerecord works , there no issues when run project on computer. has seen before? thanks!
Comments
Post a Comment