使用mina部署问题,因为db不存在而无法迁移

时间:2014-12-20 17:19:57

标签: ruby-on-rails

我试图与Mina一起部署。我对数据库迁移感到困惑,因为它说数据库不存在。

Your bundle is complete!
Gems in the groups development and test were not installed.
It was installed into ./vendor/bundle
-----> Migrating database
rake aborted!
ActiveRecord::NoDatabaseError: FATAL:  database "production" does not exist
Run `$ bin/rake db:create db:migrate` to create your database

如何使用mina或ssh创建数据库?我在digitalocean上使用ubuntu 14.04

0 个答案:

没有答案