Is it possible to set path of database for delayed job in rails?
- by WitchOfCloud
Now, I am developing with mailing system with delayed_jobs gem.
When I ran on developing environment, it operated well.
But, after deploying application on server, it is not acted.
This is my database.yml
development:
adapter: sqlite3
database: db/development.sqlite3
pool: 5
timeout: 5000
test:
adapter: sqlite3
database: db/test.sqlite3
pool: 5
timeout: 5000
production:
adapter: sqlite3
database: /var/www/service/shared/db/production.sqlite3
pool: 5
timeout: 5000
I checked queue(in /var/www/...) and it act well. Also, I started delayed_jobs(rake jobs:work).
So, I think that problem is delayed_job crawl db/development.sqlite3
How can solve this problem?