# SQLite3-Ruby version 1.2.3 Installed, SQLite::Database prob

**URL:** <https://www.ruby-forum.com/t/sqlite3-ruby-version-1-2-3-installed-sqlite-database-prob/157836>\
**Category:** Ruby\
**Created:** [January 15, 2009, 7:49pm UTC](https://www.ruby-forum.com/t/sqlite3-ruby-version-1-2-3-installed-sqlite-database-prob/157836 "2009-01-15T19:49:41Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![siddharth](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/s/f19dbf/32.png) [@siddharth](https://www.ruby-forum.com/u/siddharth)\
**Post date:** [January 15, 2009, 7:49pm UTC](https://www.ruby-forum.com/t/sqlite3-ruby-version-1-2-3-installed-sqlite-database-prob/157836/1 "2009-01-15T19:49:41Z")

</div>

I was trying to install SQLite3 and after a lot of goof ups I’ve managed  
to install the gem (SQLite3-Ruby --version 1.2.3). I downloaded the  
SQLite3 DLLs and exe and placed them in the System32 folder as well. I  
get no errors but when I try to run my code (Just a check to see if its  
successfully installed)

require ‘rubygems’  
require ‘sqlite3’  
puts “Its all okay2” if defined?(SQLITE3::Database)  
puts "Something is wrong " unless defined?(SQLITE3::Database)

I get the ‘something is wrong’ message. I can’t figure out if I’ve  
messed up some installation step because I read that the latest SQLite3  
gem does not have binaries for Windows.

Help!

Sid

---

<div class="post-metadata">

**Author:** ![siddharth](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/s/f19dbf/32.png) [@siddharth](https://www.ruby-forum.com/u/siddharth)\
**Post date:** [January 15, 2009, 7:55pm UTC](https://www.ruby-forum.com/t/sqlite3-ruby-version-1-2-3-installed-sqlite-database-prob/157836/2 "2009-01-15T19:55:05Z")

</div>

Im sorry I think I got it  
Sorry
