# Local install of sqlite3-ruby

**URL:** <https://www.ruby-forum.com/t/local-install-of-sqlite3-ruby/187673>\
**Category:** Ruby\
**Created:** [April 27, 2010, 5:53pm UTC](https://www.ruby-forum.com/t/local-install-of-sqlite3-ruby/187673 "2010-04-27T17:53:27Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![mike343](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/m/58f4c7/32.png) [@mike343](https://www.ruby-forum.com/u/mike343)\
**Post date:** [April 27, 2010, 5:53pm UTC](https://www.ruby-forum.com/t/local-install-of-sqlite3-ruby/187673/1 "2010-04-27T17:53:27Z")

</div>

Hi,

i want to install sqlite3-ruby without root on my system.  
I can compile it and i know how to set a custom path for install but how  
can my ruby-installation find it?  
Think sqlite3-ruby puts the native files into the site\_ruby folder.  
How can i have a “local” site\_ruby folder that ruby can find and access  
these files?

---

<div class="post-metadata">

**Author:** ![mike343](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/m/58f4c7/32.png) [@mike343](https://www.ruby-forum.com/u/mike343)\
**Post date:** [April 27, 2010, 6:56pm UTC](https://www.ruby-forum.com/t/local-install-of-sqlite3-ruby/187673/2 "2010-04-27T18:56:18Z")

</div>

Michael M. wrote:

> Hi,
> 
> i want to install sqlite3-ruby without root on my system.  
> I can compile it and i know how to set a custom path for install but how  
> can my ruby-installation find it?  
> Think sqlite3-ruby puts the native files into the site\_ruby folder.  
> How can i have a “local” site\_ruby folder that ruby can find and access  
> these files?

If you install the gem using non-root it will install it into your  
“personal gem” directory, which by default is available.  
-rp
