Where do you put library binary (dll and so) stuff?

Hi,

My rails application use Sqlite3 database. I have this goal. To run my rails application, user (with Linux and Windows 32 bit) only need to install Ruby. So I freeze rails (rake rails:freeze:gems). I unpack sqlite3-ruby gems (gem unpack sqlite3-ruby). I download binary sqlite3 library (sqlite3-Linux-x86.so, sqlite3-Windows-x86.dll).

The question is where I put the library stuff in my rails application directory.

Thank you.