capistrano standard output , error redirect

22 views
Skip to first unread message

junior

unread,
Feb 25, 2015, 5:48:20 AM2/25/15
to capis...@googlegroups.com
Hi Team,
               /home/exptest/.rbenv/versions/2.1.5/bin/cap development deploy | tee

when use pipe symbol to redirect output its nothing showing only it comes blank

If use linux commands with #  ls | tee   it shows the output


Can you pls guide how to redirect capistrano deployment std out , and std errors



ruby version = ruby 2.1.5p273 (2014-11-13 revision 48405) [x86_64-linux]
cap version = Capistrano Version: 3.3.5 (Rake Version: 10.4.2)
os -= centos 6.5 64bit
gem version = 2.4.5


Versions:
  • Ruby
  • Capistrano
  • Rake / Rails / etc
Platform:
  • Working on....
  • Deploying to...
Logs:
  • Please past logs (as completely as possible to a 3rd party pasting service such as pastie.org)
Files:
  • Capfile
  • deploy.rb
  • Stage files (production.rb, staging.rb)

Lee Hambley

unread,
Feb 25, 2015, 5:53:28 AM2/25/15
to Capistrano
Please stop spamming the list, as I answered in the other thread the Capistrano output works *exactly* as designed, and you are misusing `tee` in your overly complex shell script.

--
You received this message because you are subscribed to the Google Groups "Capistrano" group.
To unsubscribe from this group and stop receiving emails from it, send an email to capistrano+...@googlegroups.com.
To view this discussion on the web, visit https://groups.google.com/d/msgid/capistrano/44529c6a-0476-4f83-a770-038cb8fa2634%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

junior

unread,
Feb 25, 2015, 6:11:40 AM2/25/15
to capis...@googlegroups.com
Hi Lee,
              Now im not using any shell script directly running cap command . But unable to redirect output to a file ...
Not yet got solution pls help

junior

unread,
Feb 25, 2015, 6:17:56 AM2/25/15
to capis...@googlegroups.com
Hi Lee,
               Can you pls give solution im stuck . after pipe symbol there is no output showing ... not oly tee command
Reply all
Reply to author
Forward
0 new messages