Is it possible to set path of database for delayed job in rails?
Posted
by
WitchOfCloud
on Stack Overflow
See other posts from Stack Overflow
or by WitchOfCloud
Published on 2014-08-20T04:15:25Z
Indexed on
2014/08/20
4:20 UTC
Read the original article
Hit count: 128
ruby-on-rails
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?
© Stack Overflow or respective owner