今天脑袋发热买了一个 VPS,折腾了一个下午按照教程在 Ubuntu 12.04 Server 上安装部署 Ruby on Rails 环境http://ruby-china.org/wiki/install-rails-on-ubuntu-12-04-server 终于部署了,还没有域名,地址是http://199.127.56.234,但是注册提交时提示 SQLite3::ReadOnlyException: attempt to write a readonly database: INSERT INTO "users" ("badge", "created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "remember_created_at", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) 好像是数据库的权限问题,请问怎么解决?