This is a permissions issue with the sqlite3 1.2.2 gem. I had the same problem today on ubuntu 8.04. To fix follow the steps below:
1. navigate to /usr/lib/ruby/gems/1.8/gems/sqlite3-ruby-1.2.2
Code:
cd /usr/lib/ruby/gems/1.8/gems/sqlite3-ruby-1.2.2
2. you have to change the permissions of the files in this directory, use the snippet below:
Code:
sudo find . -perm 0662 -exec chmod 664 {} \;
The above works for MacOSX as well. The gems folder is at a different location:
Code:
/usr/local/lib/ruby/gems/1.8/gems/sqlite3-ruby-1.2.2
Now there is no need to unistall 1.2.2 and install 1.2.1!
Sources for fix:
Ubuntu - http://www.red91.com/2008/07/20/no-s...lite3-database
MacOSX - http://www.icoretech.org/2008/07/06/...lite3-database
Hope this saves someone some trouble, I was about to pull my hair out. I've got dreds, lol.
Bookmarks