KnowledgeHub
Questions
Tags
Users
Search
Alex Rivera
|
Logout
Edit Question
Title
Body
I'm trying to use delayed_job to schedule tasks using Sqlite3, and it looks like apache isn't able to read my production.sqlite3 file. Here's my database.yml : production: adapter: sqlite3 database: db/production.sqlite3 pool: 5 timeout: 5000 Here's the error I am getting (in log/production.log): ActiveRecord::StatementInvalid (SQLite3::CantOpenException: unable to open database file:) I have run RAILS_ENV=production rake db:create and RAILS_ENV=production rake db:migrate . The db/production.sqlite3 file exists, and the db directory and all its subfolders are owned by apache:apache , which is who apache runs as. I'm using Phusion Passenger on Amazon EC2.
Tags (comma-separated)
Save Edits
Cancel