rm -f db/*.sqlite3
rake db:create
RAILS_ENV=development rake db:migrate
rails s -e development
Edit: Warning! Obviously, you will lose your existing data.
rm -f db/*.sqlite3
rake db:create
RAILS_ENV=development rake db:migrate
rails s -e development
Edit: Warning! Obviously, you will lose your existing data.
本文标题:ruby on rails 数据库出现bin / rails d
本文链接:https://www.haomeiwen.com/subject/pwouottx.html
网友评论