Archive for August, 2006

Stream your remote capistrano files to local

Thursday, August 31st, 2006

From errtheblog
To send your remote log files to your local console, just add this task to deploy.rb and do rake remote:exec ACTION=tail_logs
PLAIN TEXT
RUBY:

desc "tail production log files"

task :tail_logs, :roles => :app do

  run "tail -f #{shared_path}/log/production.log" do |channel, stream, data|

    puts  # for an extra line break before the host name

    puts [...]

snippits, programming, ruby on rails | 2 comments

You are currently browsing the Anodyne weblog archives for August, 2006.

Recently on Flickr

    mull - 21.jpgmull - 20.jpgmull - 19.jpgmull - 18.jpg

Recently Listened

Meta

The Carousell