Sha256: 1aa52b1c13eddf37ac6699619d71b3a5148459ba6d63ad29417643023ac181b7
Contents?: true
Size: 313 Bytes
Versions: 12
Compression:
Stored size: 313 Bytes
Contents
namespace :log do desc "tail production log files" task :tail, :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 "#{channel[:host]}: #{data}" break if stream == :err end end end
Version data entries
12 entries across 12 versions & 1 rubygems