run multi delayed_job instances per RAILS_ENV
I'm working on a Rails app with multi RAILS_Env env_name1: adapter: mysql username: root password: host: localhost database: db_name_1 env_name2: adapter: mysql username: root password: host: localhost database: db_name_2 ... .. . And i'm using delayed_job (2.0.5) plugin to manage asynchrone and background work. I would like start multi delayed_job per RAILS_ENV: RAILS_ENV=env_name1 script/delayed_job start RAILS_ENV=env_name2 script/delayed_job start .. I noticed that I can run only one delayed_job instance for the 2nd, I have this error "ERROR: there is already one or more instance(s) of the