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

**URL:** <https://rubytalk.org/t/sqlite3-ruby-version-1-2-3-installed-sqlite-database-prob/51177>\
**Category:** ruby-talk\
**Created:** [15 January 2009 18:48 UTC](https://rubytalk.org/t/sqlite3-ruby-version-1-2-3-installed-sqlite-database-prob/51177 "2009-01-15T18:48:39Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Siddharth\_Ravichandr](https://avatars.discourse-cdn.com/v4/letter/s/ccd318/32.png) [@Siddharth\_Ravichandr](https://rubytalk.org/u/Siddharth_Ravichandr)\
**Post date:** [15 January 2009 18:48 UTC](https://rubytalk.org/t/sqlite3-ruby-version-1-2-3-installed-sqlite-database-prob/51177/1 "2009-01-15T18:48:39Z")

</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

> **···**
>
> --  
> Posted via [http://www.ruby-forum.com/](http://www.ruby-forum.com/).

---

<div class="post-metadata">

**Author:** ![Siddharth\_Ravichandr](https://avatars.discourse-cdn.com/v4/letter/s/ccd318/32.png) [@Siddharth\_Ravichandr](https://rubytalk.org/u/Siddharth_Ravichandr)\
**Post date:** [15 January 2009 18:54 UTC](https://rubytalk.org/t/sqlite3-ruby-version-1-2-3-installed-sqlite-database-prob/51177/2 "2009-01-15T18:54:02Z")

</div>

Im sorry I think I got it  
Sorry

> **···**
>
> --  
> Posted via [http://www.ruby-forum.com/](http://www.ruby-forum.com/).
