Andrew Chalkley's (Micro) Blog

Welcome to my (micro-)blog. I am a coder, an atheist, a cool dad and an awesome husband :)

Fix SQLite3 Error on Ruby Enterprise Edition

If you get the following error:

no such file to load — sqlite3/database 

When using upgrading to ruby-enterprise-1.8.6-20080624

To fix it all your need to do is:

$ cd /opt/ruby-enterprise-1.8.6-20080624/lib/ruby/gems/1.8/gems/sqlite3-ruby-1.2.2/lib/sqlite3

$ sudo chmod +r *

Restart your app and voila!

If you have found this post useful please recommend me.