help with sidekiq command during cap deploy - no such file or directory

29 views
Skip to first unread message

tom

unread,
Jul 27, 2016, 5:08:05 PM7/27/16
to Ruby on Rails: Talk
cd /rorapps/foo/staging/foo_com/releases/20160727210019 && /usr/bin/env sidekiq --index 0 --pidfile /rorapps/foo/stagingfoo_com/shared/tmp/pids/sidekiq-0.pid --environment staging --logfile /rorapps/foo/staging/foo_com/shared/log/sidekiq.log --daemon
 DEBUG [b52ffd5f]       /usr/bin/env:
 DEBUG [b52ffd5f]       sidekiq
 DEBUG [b52ffd5f]       : No such file or directory


but when i ssh into the server (same user as cap(set :user)) and copy & paste the command it goes through without error...
what is wrong here?

tamouse pontiki

unread,
Jul 27, 2016, 10:53:10 PM7/27/16
to rubyonra...@googlegroups.com
I don't know specifically, but usually this is because your environment logging in through ssh is different than the one an ssh command runs in.  
Reply all
Reply to author
Forward
0 new messages