Cannot use rake db: migrate due to sqlite3_busy timeout

I am running RVM with Ruby 1.9.2 and Rails 3.0.0rc. When I run rake db:migrate, I get:

Expected argument 0 of type sqlite3 *, but got SWIG::TYPE_p_sqlite3 #<SWIG::TYPE_p_sqlite3:0x00000... 
      in SWIG method 'sqlite3_busy_timeout'

Has anyone come across this?

And more importantly, did someone fix it and how?

+3
source share
1 answer

Have you tried a more stable version of Rails 3? What version of sqlite3 gem are you using?

0
source

Source: https://habr.com/ru/post/1759616/


All Articles