LoginSignup
1
1

More than 5 years have passed since last update.

bin/rake db:create ができない

Posted at

DBがない状態で bin/rake db:create しようとすると失敗する。
つまり、spring経由のrake db:createができない。
springを経由しなければよい。

$ rake db:create

で解決する。

たぶん、PostgresやSQLiteをつかっている場合はおきない。

もっと詳しく

ちゃんと調べてない。推測。

bin/rake db:create

を実行すると springが先に起動する。その際にDBへ接続しようとする。DBがなくて失敗する。

1
1
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
1
1