【问题标题】:Can't rake db:migrate due to sqlite3_busy timeout由于 sqlite3_busy 超时,无法 rake db:migrate
【发布时间】:2010-08-14 00:09:55
【问题描述】:

我正在使用 Ruby 1.9.2 和 Rails 3.0.0rc 运行 RVM。当我运行rake db:migrate 时,我得到:

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

有人遇到过这种情况吗?

更重要的是,有没有人修复它以及如何修复它?

【问题讨论】:

    标签: sqlite ruby-on-rails-3 rake


    【解决方案1】:

    您是否尝试过更稳定的 Rails 3 版本?你用的是什么版本的 sqllite3 Gem?

    【讨论】:

      猜你喜欢
      • 2011-09-24
      • 2013-01-08
      • 1970-01-01
      • 1970-01-01
      • 2011-10-31
      • 2017-07-30
      • 1970-01-01
      • 1970-01-01
      相关资源
      最近更新 更多