I'm trying to run Capistrano 2.15.5 with Whenever 0.8.4 and Ruby 2.0.0
I've added
set :whenever_command, "bundle exec whenever"
require "whenever/capistrano"
to the end of my deploy.rb file and it always run:
/releases/20150910075216 && bundle exec whenever --update-crontab
app_name --set environment=production --roles db
and fails wth
No such file or directory -
/releases/20150910075216/config/database.yml
because database.yml is in folder /shared/ anyways I don't need the db -
how to get rid of --roles db in the capistrano command?
I have
server("my_server", :app, :web, :db, :primary => true)
because I need the :db for other scripts.
Thanks for help!
David