From: scott on
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
From: andrew mcelroy on
On Mon, Mar 15, 2010 at 2:43 PM, andrew mcelroy <sophrinix(a)gmail.com> wrote:
> On Mon, Mar 15, 2010 at 2:40 PM, scott <scottnj(a)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 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.
>
> 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
>>
>>
>

From: Luis Lavena on
On Mar 15, 8:37 pm, scott <scot...(a)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.
>

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,
--
Luis Lavena
From: andrew mcelroy on
On Mon, Mar 15, 2010 at 2:40 PM, scott <scottnj(a)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 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

>
> 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
>
>

From: scott on
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...(a)gmail.com> wrote:
> On Mon, Mar 15, 2010 at 2:40 PM, scott <scot...(a)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