在 railstutorial chap.6 中,当我尝试迁移时出现此错误:
MacBook-Pro-de-Stephane-Cedroni:sample_app stephanecedroni$ bundle exec rake db:migrate
== AddIndexToUsersEmail: migrating ===========================================
-- add_index(:users, :email, {:unique=>true})
-> 0.0020s
== AddIndexToUsersEmail: migrated (0.0022s) ==================================
rake aborted!
An error has occurred, this and all later migrations canceled:
SQLite3::BusyException: database is locked: commit transaction/Users/stephanecedroni/.rvm/gems/ruby-1.9.3-p392/gems/sqlite3-1.3.5/lib/sqlite3/database.rb:97:in `close'
有人有同样的错误吗?我不是很实验,需要你的帮助!
谢谢