# Installing SQLite

**URL:** <https://rubytalk.org/t/installing-sqlite/35088>\
**Category:** ruby-talk\
**Created:** [5 February 2007 16:28 UTC](https://rubytalk.org/t/installing-sqlite/35088 "2007-02-05T16:28:02Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Damaris\_Fuentes](https://avatars.discourse-cdn.com/v4/letter/d/c5a1d2/32.png) [@Damaris\_Fuentes](https://rubytalk.org/u/Damaris_Fuentes)\
**Post date:** [5 February 2007 16:28 UTC](https://rubytalk.org/t/installing-sqlite/35088/1 "2007-02-05T16:28:02Z")

</div>

I have installed the sqlite3 gem for ruby. The installation was  
succesful:  
gem install sqlite3-ruby --source code.whytheluckystiff.net

Afterwards, I downloaded the sqlite-3.3.7 exe, and the dll (same  
version). I've downloaded the files into C:\ruby\bin

However, when i try

> require 'sqlite3'

the following error appears:  
Load error: no such file to load --sqlite3

It is there (trying with gem list -sqlite3 tells me that). But i don't  
know why it does not load it.  
I've tried with require 'SQLite3', or any other uppercase combinations.

(Btw, my ruby version is 1.8.2, and I'm working under Windows XP.)

Suggestions? thanks.

PT: I know there are many posts about it, but I haven't found no answers  
to my exact problem.

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

---

<div class="post-metadata">

**Author:** ![Jan\_Svitok](https://avatars.discourse-cdn.com/v4/letter/j/cab0a1/32.png) [@Jan\_Svitok](https://rubytalk.org/u/Jan_Svitok)\
**Post date:** [5 February 2007 17:24 UTC](https://rubytalk.org/t/installing-sqlite/35088/2 "2007-02-05T17:24:39Z")

</div>

do you have rubygems enabled?  
i.e. either require 'rubygems' or irb -rubygems or RUBYOPT=rubygems  
(in the environment)

can you post the exact message, or the output of

ruby -w -e "require 'sqlite3'" 2\> log.txt

> **···**
>
> On 2/5/07, Damaris Fuentes \<dfl\_maradentro@yahoo.es\> wrote:
> 
> > I have installed the sqlite3 gem for ruby. The installation was  
> > succesful:  
> > gem install sqlite3-ruby --source code.whytheluckystiff.net
> > 
> > Afterwards, I downloaded the sqlite-3.3.7 exe, and the dll (same  
> > version). I've downloaded the files into C:\ruby\bin
> > 
> > However, when i try  
> > \> require 'sqlite3'  
> > the following error appears:  
> > Load error: no such file to load --sqlite3
> > 
> > It is there (trying with gem list -sqlite3 tells me that). But i don't  
> > know why it does not load it.  
> > I've tried with require 'SQLite3', or any other uppercase combinations.
> > 
> > (Btw, my ruby version is 1.8.2, and I'm working under Windows XP.)
> > 
> > Suggestions? thanks.
> > 
> > PT: I know there are many posts about it, but I haven't found no answers  
> > to my exact problem.

---

<div class="post-metadata">

**Author:** ![Damaris\_Fuentes](https://avatars.discourse-cdn.com/v4/letter/d/c5a1d2/32.png) [@Damaris\_Fuentes](https://rubytalk.org/u/Damaris_Fuentes)\
**Post date:** [5 February 2007 19:53 UTC](https://rubytalk.org/t/installing-sqlite/35088/3 "2007-02-05T19:53:09Z")

</div>

uups, yes, I had missed the "require 'rubygems'". Lots of Thanks!

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