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

S

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.

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
 
L

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

andrew mcelroy

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
 
S

scott

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

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,769
Messages
2,569,581
Members
45,056
Latest member
GlycogenSupporthealth

Latest Threads

Top