Rails sqlite3 deploy problem
I'm trying to deploy a small rails app using sqlite3, but I keep getting the following exception: SQLite3::SQLException: unable to open database file. Permissions have been set to:
-rwxrwxrwx 1 w开发者_JAVA百科ww-data root 208896 Mar 2 11:26 joboversigt.db
I can read (select) from the database with no problem, put writing isn't working
I'm sure you've solved this by now, but make sure that the directory containing the database is writable as well.
精彩评论