Sha256: bfe1bc43569f76ffce87025cb27fbd46bca3e140d843adb89be1d759a8752090
Contents?: true
Size: 390 Bytes
Versions: 5
Compression:
Stored size: 390 Bytes
Contents
# frozen_string_literal: true namespace :logs do include Capistrano::Ops::Logs::Paths include Capistrano::Ops::Logs::Helpers desc 'Tail Rails logs' task :rails do on roles(fetch(:rake_roles, :app)) do trap_interrupt execute "tail -f #{rails_log_file_path}" do |_channel, stream, data| puts data break if stream == :err end end end end
Version data entries
5 entries across 5 versions & 1 rubygems