jeudi 13 août 2015

Fresh install of my rails project causes SQLite3::SQLException

I wanted to test my project runs correctly on a fresh install.

http://ift.tt/1UFVC4D

For a normal new project, I clone it then do:

git clone http://ift.tt/1UFVC4D

bundle install

rake db:migrate

rails server

And it should run, however rake db:migrate Gives me a:

ActiveRecord::StatementInvalid: SQLite3::SQLException: no such table: simulations: SELECT  "simulations".* FROM "simulations"  ORDER BY "simulations"."id" DESC LIMIT 1

Can anyone help me solve why this is happening? Am I using the correct steps? Have I committed a DB file I shouldn't have?

Aucun commentaire:

Enregistrer un commentaire