On Aug 13, 4:02=A0pm, Derril Lucci <derril.lu... / gmail.com> wrote:
> greetings everyone,
> =A0 i wrote a program that inserts data into a database using sqlite3. =
=A0it
> runs fine on freebsd 6.2 but when i try to run it on ubuntu 10.04, i get
> the following error:
> =A0 =A0 =A0 =A0/usr/lib/ruby/1.8/rubygems/custom_require.rb:31:in
> `gem_original_require': no such file to load -- sqlite3 (LoadError)
> =A0 from /usr/lib/ruby/1.8/rubygems/custom_require.rb:31:in `require'
> =A0 from SQL.rb:2
>
> any help is appreciated.
>

Ensure you have sqlite3-ruby gem installed:

gem install sqlite3-ruby

Ensure your script/app is loading RubyGems before loading sqlite3:

require 'rubygems'
require 'sqlite3'

--
Luis Lavena