Currently I am facing a weird warning messages on deploy:assets:precompile at production deploy through capistrano.
When I ran cap production deploy for first time deployment of my demo Rails project, getting following warning messages and deploy failed with cap aborted!
#<Thread:0x0000558ae4eef218@/home/.rvm/gems/ruby-2.5.0/gems/sshkit-1.21.2/lib/sshkit/runners/parallel.rb:10 run> terminated with exception (report_on_exception is true):
Traceback (most recent call last):
1: from /home/.rvm/gems/ruby-2.5.0/gems/sshkit-1.21.2/lib/sshkit/runners/parallel.rb:11:in `block (2 levels) in execute'
/home/.rvm/gems/ruby-2.5.0/gems/sshkit-1.21.2/lib/sshkit/runners/parallel.rb:15:in `rescue in block (2 levels) in execute': Exception while executing on host IP: rake exit status: 1 (SSHKit::Runner::ExecuteError)
rake stdout: /home/ubuntu/.rvm/rubies/ruby-2.5.0/lib/ruby/2.5.0/net/protocol.rb:66: warning: already initialized constant Net::ProtocRetryError
/home/ubuntu/apps/demo-test/shared/bundle/ruby/2.5.0/gems/net-protocol-0.1.0/lib/net/protocol.rb:66: warning: previous definition of ProtocRetryError was here
/home/ubuntu/.rvm/rubies/ruby-2.5.0/lib/ruby/2.5.0/net/protocol.rb:172: warning: already initialized constant Net::BufferedIO::BUFSIZE
/home/ubuntu/apps/demo-test/shared/bundle/ruby/2.5.0/gems/net-protocol-0.1.0/lib/net/protocol.rb:206: warning: previous definition of BUFSIZE was here
/home/ubuntu/.rvm/rubies/ruby-2.5.0/lib/ruby/2.5.0/net/protocol.rb:439: warning: already initialized constant Net::NetPrivate::Socket
/home/ubuntu/apps/demo-test/shared/bundle/ruby/2.5.0/gems/net-protocol-0.1.0/lib/net/protocol.rb:503: warning: previous definition of Socket was here
rake stderr: Nothing written
(Backtrace restricted to imported tasks)
cap aborted!
Thanks in advance.