Ruby: SQLite3::BusyException: database is locked:

后端 未结 18 1006
感动是毒
感动是毒 2020-11-28 23:29

Ran into this error message whilst developing tonight: SQLite3::BusyException: database is locked:

I have two models:

  • Podcasts have many
18条回答
  •  -上瘾入骨i
    2020-11-29 00:06

    actually for me, I found killing rails help to fix this problem.

    use "ps aux | grep rails" to find out ongoing rails process id. then use

    "kill -9 [rails-pid]"
    

    to kill processes.

    Then it will work

提交回复
热议问题