开发者

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.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜