Comments on: Installing ruby-sqlite3 on Red Hat or CentOS Linux https://sheepguardingllama.com/2008/11/installing-ruby-sqlite3-on-red-hat-or-centos-linux/ Scott Alan Miller :: A Life Online Sat, 14 May 2011 21:31:30 +0000 hourly 1 https://wordpress.org/?v=6.9.1 By: webzenguy https://sheepguardingllama.com/2008/11/installing-ruby-sqlite3-on-red-hat-or-centos-linux/comment-page-1/#comment-23671 Sat, 14 May 2011 21:31:30 +0000 http://www.sheepguardingllama.com/?p=3012#comment-23671 There is a great tutorial on installing sqlite, sqlite3 and mcrypt on Centos here: http://www.exteon.ro/en/articles/php/compile-extensions

]]>
By: Vishnu Shashank https://sheepguardingllama.com/2008/11/installing-ruby-sqlite3-on-red-hat-or-centos-linux/comment-page-1/#comment-23609 Thu, 14 Apr 2011 13:14:51 +0000 http://www.sheepguardingllama.com/?p=3012#comment-23609 Thanks a lot Scott.
It really helped!!!

]]>
By: Tom https://sheepguardingllama.com/2008/11/installing-ruby-sqlite3-on-red-hat-or-centos-linux/comment-page-1/#comment-23278 Wed, 06 Oct 2010 14:40:12 +0000 http://www.sheepguardingllama.com/?p=3012#comment-23278 Thanks!!!!

]]>
By: Davide https://sheepguardingllama.com/2008/11/installing-ruby-sqlite3-on-red-hat-or-centos-linux/comment-page-1/#comment-23005 Sun, 18 Apr 2010 15:04:51 +0000 http://www.sheepguardingllama.com/?p=3012#comment-23005 You need to specify the versio like that:

gem install sqlite3-ruby –version ‘= 1.2.4’

]]>
By: Saurabh Wadhwa https://sheepguardingllama.com/2008/11/installing-ruby-sqlite3-on-red-hat-or-centos-linux/comment-page-1/#comment-22699 Sat, 16 Jan 2010 14:07:36 +0000 http://www.sheepguardingllama.com/?p=3012#comment-22699 Awesome article

just what i needed

]]>
By: Debabrata https://sheepguardingllama.com/2008/11/installing-ruby-sqlite3-on-red-hat-or-centos-linux/comment-page-1/#comment-22506 Thu, 12 Nov 2009 16:42:30 +0000 http://www.sheepguardingllama.com/?p=3012#comment-22506 Please any one help me to install and configure php with sqlite in centos 5.3 i386 with detail step.

]]>
By: Debabrata https://sheepguardingllama.com/2008/11/installing-ruby-sqlite3-on-red-hat-or-centos-linux/comment-page-1/#comment-22505 Thu, 12 Nov 2009 16:39:55 +0000 http://www.sheepguardingllama.com/?p=3012#comment-22505 I am using CentOS 5.3 i386. sqlite is not working. Though I have install sqlite3. but it is not available in php.ini file.

how to solve this problem?

]]>
By: Scott Alan Miller https://sheepguardingllama.com/2008/11/installing-ruby-sqlite3-on-red-hat-or-centos-linux/comment-page-1/#comment-22409 Fri, 25 Sep 2009 12:01:06 +0000 http://www.sheepguardingllama.com/?p=3012#comment-22409 Glad that I could help. Funny enough I was doing a Rails on CentOS installation just yesterday and, of course, had an installation problem. I knew that I had gotten it to work before but had completely forgotten about this post. So I Google’d it quickly and found the answer posted elsewhere with a link back to my own site! So I ended up following my own directions as well 🙂

]]>
By: eRr0r404 https://sheepguardingllama.com/2008/11/installing-ruby-sqlite3-on-red-hat-or-centos-linux/comment-page-1/#comment-22408 Fri, 25 Sep 2009 11:58:40 +0000 http://www.sheepguardingllama.com/?p=3012#comment-22408 Thanks man, you saved my day

]]>
By: cejota https://sheepguardingllama.com/2008/11/installing-ruby-sqlite3-on-red-hat-or-centos-linux/comment-page-1/#comment-22360 Thu, 10 Sep 2009 18:58:35 +0000 http://www.sheepguardingllama.com/?p=3012#comment-22360 Thanks! i’m a newbie on ruby, and need migrate redmine on CentOs (i use ubuntu usually), your info is very very usefull for me.

]]>
By: Pi https://sheepguardingllama.com/2008/11/installing-ruby-sqlite3-on-red-hat-or-centos-linux/comment-page-1/#comment-22148 Sat, 27 Jun 2009 14:45:04 +0000 http://www.sheepguardingllama.com/?p=3012#comment-22148 Thanks, Scott. Hit it on the head.

]]>
By: Scott Alan Miller https://sheepguardingllama.com/2008/11/installing-ruby-sqlite3-on-red-hat-or-centos-linux/comment-page-1/#comment-22077 Fri, 15 May 2009 16:57:28 +0000 http://www.sheepguardingllama.com/?p=3012#comment-22077 No kidding!

]]>
By: Robbie https://sheepguardingllama.com/2008/11/installing-ruby-sqlite3-on-red-hat-or-centos-linux/comment-page-1/#comment-22076 Thu, 14 May 2009 17:23:47 +0000 http://www.sheepguardingllama.com/?p=3012#comment-22076 Thanks – saving people again =)

Bit of a random error message though isn’t it?

]]>
By: Jon Cecchettini https://sheepguardingllama.com/2008/11/installing-ruby-sqlite3-on-red-hat-or-centos-linux/comment-page-1/#comment-21864 Fri, 19 Dec 2008 23:34:54 +0000 http://www.sheepguardingllama.com/?p=3012#comment-21864 Thanks Scott!!!
I was getting an ugly error when trying to install the ruby sqlite gem on a centos box:
ERROR: Error installing sqlite3-ruby:
ERROR: Failed to build gem native extension.

I had sqlite installed via yum, but I was missing sqlite-devel (which your post exposed). Now the gem install for sqlite succeeds:
sudo gem install sqlite3-ruby

-cheers!

]]>
By: Vikrant https://sheepguardingllama.com/2008/11/installing-ruby-sqlite3-on-red-hat-or-centos-linux/comment-page-1/#comment-21858 Thu, 18 Dec 2008 15:46:33 +0000 http://www.sheepguardingllama.com/?p=3012#comment-21858 Thank you for you guidance. I had the same problem, and I finally solved it now.
I’m on Ubuntu 8.10 platform. So just in case if someone using a debian (.deb) based machine,
then write
sudo apt-get install ruby-dev sqlite3 libsqlite3-dev rdoc

By the way, I had all packages already installed. But after installing ruby-dev and libsqlite3-dev, the problem disappeared.
Now sudo gem install sqlite3-ruby should work just fine.
(I guess ruby-dev isn’t necessary, or it may be, I don’t know).

]]>