# \[ActiveRecord with Rails\] sqlite3-ruby installed, but can't

**URL:** <https://www.ruby-forum.com/t/activerecord-with-rails-sqlite3-ruby-installed-but-cant/105820>\
**Category:** Rails\
**Created:** [June 3, 2007, 11:24am UTC](https://www.ruby-forum.com/t/activerecord-with-rails-sqlite3-ruby-installed-but-cant/105820 "2007-06-03T11:24:37Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![StSSSSphane\_Wirtel](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/s/9fc348/32.png) [@StSSSSphane\_Wirtel](https://www.ruby-forum.com/u/StSSSSphane_Wirtel)\
**Post date:** [June 3, 2007, 11:24am UTC](https://www.ruby-forum.com/t/activerecord-with-rails-sqlite3-ruby-installed-but-cant/105820/1 "2007-06-03T11:24:37Z")

</div>

Hi all,

platform: win32

I try to use rails with a sqlite3 backend, but I have got an error  
with rake db:migrate.  
It seems that can not find the Init\_sqlite3.

the sqlite3-ruby(win32) gem is installed in the gem repository.

If I use AR without Rails, I do not have problems, but if I want to  
use rails, “rake db:migrate” can not load Init\_sqlite3.

the sqlite3.dll is in vendor directory, and in the past I have never  
seen this bug ☹

Version:  
Rails =\> 1.2.3  
Ruby : 1.8.6  
sqlite3-ruby : 1.2.1 (win32)

RUBYOPT=-rubygems

Thanks
