integrity/integrity — Issue #159: DelayedBuilder - NameError: undefined method `busy_timeout=' for class `SQLite3::Database'
Author: jdutil
Created: 2012-02-29 00:56:57+00:00
State: open

I receive a sqlite error with both sqlite 1.3.2 and 1.3.5 when trying to use DelayedBuilder. sqlite works fine for the normal database but raises this error when initializing the DelayedBuilder for some reason. For now I'm having to use MySQL for the DelayedBuilder but would like to have everything done in the single sqlite db.

```
NameError: undefined method `busy_timeout=' for class `SQLite3::Database'
/Users/JD/.rvm/gems/ruby-1.9.2-p290@integrity/gems/sqlite3-1.3.5/lib/sqlite3/database.rb:293:in `'
/Users/JD/.rvm/gems/ruby-1.9.2-p290@integrity/gems/sqlite3-1.3.5/lib/sqlite3/database.rb:35:in `'
/Users/JD/.rvm/gems/ruby-1.9.2-p290@integrity/gems/sqlite3-1.3.5/lib/sqlite3/database.rb:8:in `'
/Users/JD/.rvm/gems/ruby-1.9.2-p290@integrity/gems/activesupport-3.0.3/lib/active_support/dependencies.rb:239:in `require'
/Users/JD/.rvm/gems/ruby-1.9.2-p290@integrity/gems/activesupport-3.0.3/lib/active_support/dependencies.rb:239:in `block in require'
/Users/JD/.rvm/gems/ruby-1.9.2-p290@integrity/gems/activesupport-3.0.3/lib/active_support/dependencies.rb:225:in `block in load_dependency'
/Users/JD/.rvm/gems/ruby-1.9.2-p290@integrity/gems/activesupport-3.0.3/lib/active_support/dependencies.rb:596:in `new_constants_in'
/Users/JD/.rvm/gems/ruby-1.9.2-p290@integrity/gems/activesupport-3.0.3/lib/active_support/dependencies.rb:225:in `load_dependency'
/Users/JD/.rvm/gems/ruby-1.9.2-p290@integrity/gems/activesupport-3.0.3/lib/active_support/dependencies.rb:239:in `require'
/Users/JD/.rvm/gems/ruby-1.9.2-p290@integrity/gems/sqlite3-1.3.5/lib/sqlite3.rb:9:in `'
/Users/JD/.rvm/gems/ruby-1.9.2-p290@integrity/gems/activesupport-3.0.3/lib/active_support/dependencies.rb:239:in `require'
/Users/JD/.rvm/gems/ruby-1.9.2-p290@integrity/gems/activesupport-3.0.3/lib/active_support/dependencies.rb:239:in `block in require'
/Users/JD/.rvm/gems/ruby-1.9.2-p290@integrity/gems/activesupport-3.0.3/lib/active_support/dependencies.rb:225:in `block in load_dependency'
/Users/JD/.rvm/gems/ruby-1.9.2-p290@integrity/gems/activesupport-3.0.3/lib/active_support/dependencies.rb:596:in `new_constants_in'
/Users/JD/.rvm/gems/ruby-1.9.2-p290@integrity/gems/activesupport-3.0.3/lib/active_support/dependencies.rb:225:in `load_dependency'
/Users/JD/.rvm/gems/ruby-1.9.2-p290@integrity/gems/activesupport-3.0.3/lib/active_support/dependencies.rb:239:in `require'
/Users/JD/.rvm/gems/ruby-1.9.2-p290@integrity/gems/activesupport-3.0.3/lib/active_support/core_ext/kernel/requires.rb:9:in `block in require_library_or_gem'
/Users/JD/.rvm/gems/ruby-1.9.2-p290@integrity/gems/activesupport-3.0.3/lib/active_support/core_ext/kernel/reporting.rb:11:in `block in silence_warnings'
/Users/JD/.rvm/gems/ruby-1.9.2-p290@integrity/gems/activesupport-3.0.3/lib/active_support/core_ext/kernel/reporting.rb:22:in `with_warnings'
/Users/JD/.rvm/gems/ruby-1.9.2-p290@integrity/gems/activesupport-3.0.3/lib/active_support/core_ext/kernel/reporting.rb:11:in `silence_warnings'
/Users/JD/.rvm/gems/ruby-1.9.2-p290@integrity/gems/activesupport-3.0.3/lib/active_support/core_ext/kernel/requires.rb:7:in `require_library_or_gem'
/Users/JD/.rvm/gems/ruby-1.9.2-p290@integrity/gems/activerecord-3.0.3/lib/active_record/connection_adapters/sqlite3_adapter.rb:24:in `sqlite3_connection'
/Users/JD/.rvm/gems/ruby-1.9.2-p290@integrity/gems/activerecord-3.0.3/lib/active_record/connection_adapters/abstract/connection_pool.rb:228:in `new_connection'
/Users/JD/.rvm/gems/ruby-1.9.2-p290@integrity/gems/activerecord-3.0.3/lib/active_record/connection_adapters/abstract/connection_pool.rb:236:in `checkout_new_connection'
/Users/JD/.rvm/gems/ruby-1.9.2-p290@integrity/gems/activerecord-3.0.3/lib/active_record/connection_adapters/abstract/connection_pool.rb:190:in `block (2 levels) in checkout'
/Users/JD/.rvm/gems/ruby-1.9.2-p290@integrity/gems/activerecord-3.0.3/lib/active_record/connection_adapters/abstract/connection_pool.rb:186:in `loop'
/Users/JD/.rvm/gems/ruby-1.9.2-p290@integrity/gems/activerecord-3.0.3/lib/active_record/connection_adapters/abstract/connection_pool.rb:186:in `block in checkout'
```