I want to execute a task with whenever rails gem at every reboot like this
every :reboot do
script "cd :path && RAILS_ENV=:environment && rvmsudo ruby script/delayed_job start :environment"
end
however rvmsudo will prompt for the password
what could be a workaround to successfully execute the task?
Thank you