I just cloned an application from my developer and I want to set it up on my computer. I get this error when I go to localhost:3000
, and I don't really understand what it means.
Error:
ActiveRecord::StatementInvalid - Mysql2::Error: Table
'goacquire_development.sessions' doesn't exist: SHOW FULL FIELDS FROM `sessions`:
I think it could be my installation process, I'll appreciate if someone could explain this error to me.
A few ideas:
rake db:create
and rake db:migrate
. database.yml
file configured with MySQL settings. Hope this helps.
# cd /path/to/your/app # bundle install # rake db:create # rake db:migrate # rails s
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.