Ruby 1.9.1, rubygems, rvm. trouble getting sqlite3 to work

i am trying to setup a slicehost server for rails development. i chose
to use the ubuntu 9.10 karmic image.

rvm looks really useful so i am attempting to use it.

i am running into trying to use sqlite3 with ruby 1.9.1.
here is what i have setup http://gist.github.com/333205.
everything seems to work great up to the sqlite3 part.

does anyone know how to get sqlite3 working with ruby 1.9.1 on ubuntu
9.10? i have tried many approaches found through google and nothing
has worked.

thanks,
scott

i am trying to setup a slicehost server for rails development. i chose
to use the ubuntu 9.10 karmic image.

rvm looks really useful so i am attempting to use it.

i am running into trying to use sqlite3 with ruby 1.9.1.
here is what i have setup http://gist.github.com/333205\.
everything seems to work great up to the sqlite3 part.

make sure you don't have both sqlite3 and sqlite3-ruby.

Those two modules can conflict.

Andrew McElroy

···

On Mon, Mar 15, 2010 at 2:40 PM, scott <scottnj@gmail.com> wrote:

does anyone know how to get sqlite3 working with ruby 1.9.1 on ubuntu
9.10? i have tried many approaches found through google and nothing
has worked.

thanks,
scott

i am trying to setup a slicehost server for rails development. i chose
to use the ubuntu 9.10 karmic image.

rvm looks really useful so i am attempting to use it.

i am running into trying to use sqlite3 with ruby 1.9.1.
here is what i have setuphttp://gist.github.com/333205.
everything seems to work great up to the sqlite3 part.

You put ???, what is supposed that means?

For the record: gem install sqlite3-ruby should install ruby as long
you have sqlite3-dev headers installed:

The package is "libsqlite3-dev"

does anyone know how to get sqlite3 working with ruby 1.9.1 on ubuntu
9.10? i have tried many approaches found through google and nothing
has worked.

If you installed "sqlite3" gem, let me tell you is an FFI
implementation, which is broken. I asked the gem author to change the
name to avoid confusion, but he rejected it.

HTH,

···

On Mar 15, 8:37 pm, scott <scot...@gmail.com> wrote:
--
Luis Lavena

i am trying to setup a slicehost server for rails development. i chose
to use the ubuntu 9.10 karmic image.

rvm looks really useful so i am attempting to use it.

i am running into trying to use sqlite3 with ruby 1.9.1.
here is what i have setup http://gist.github.com/333205\.
everything seems to work great up to the sqlite3 part.

make sure you don't have both sqlite3 and sqlite3-ruby.

Those two modules can conflict.

Gems not modules.

···

On Mon, Mar 15, 2010 at 2:43 PM, andrew mcelroy <sophrinix@gmail.com> wrote:

On Mon, Mar 15, 2010 at 2:40 PM, scott <scottnj@gmail.com> wrote:

Andrew McElroy

does anyone know how to get sqlite3 working with ruby 1.9.1 on ubuntu
9.10? i have tried many approaches found through google and nothing
has worked.

thanks,
scott

i think my problem was having both sqlite3 and sqlite3-ruby installed
thanks for the tip!

···

On Mar 15, 3:49 pm, andrew mcelroy <sophri...@gmail.com> wrote:

On Mon, Mar 15, 2010 at 2:40 PM, scott <scot...@gmail.com> wrote:
> i am trying to setup a slicehost server for rails development. i chose
> to use the ubuntu 9.10 karmic image.

> rvm looks really useful so i am attempting to use it.

> i am running into trying to use sqlite3 with ruby 1.9.1.
> here is what i have setuphttp://gist.github.com/333205.
> everything seems to work great up to the sqlite3 part.

make sure you don't have both sqlite3 and sqlite3-ruby.

Those two modules can conflict.

Andrew McElroy

> does anyone know how to get sqlite3 working with ruby 1.9.1 on ubuntu
> 9.10? i have tried many approaches found through google and nothing
> has worked.

> thanks,
> scott