For running Rpush, I have written this in config/deploy.rb
after :publishing, 'deploy:restart'
after :finishing, 'deploy:cleanup'
after :finished, :restart_rpush do
on roles(:web) do
within release_path do
with rails_env: fetch(:rails_env) do
execute :bundle, :exec, "rpush stop -e #{fetch(:rails_env)}"
execute :bundle, :exec, "rpush start -e #{fetch(:rails_env)}"
end
end
end
end
end
At the time of deployment I am getting this error :
DEBUG [76ef4791] * Rpush isn't running?
/home/dev/proteqtor/releases/20150714065629/tmp/rpush.pid does not exist.
Rpush is not running. What could be the cause of this issue?