Sha256: d81c3ce269fe884adc564f82a4ad5f4517a2c19a83ca35bc27c227a85c9e526b
Contents?: true
Size: 544 Bytes
Versions: 4
Compression:
Stored size: 544 Bytes
Contents
namespace :rails do desc 'Execute rails console' task :console do on roles(:app), in: :parallel, backend: :ssh_command do |*args| within release_path do with rails_env: fetch(:rails_env) do execute(:rails, :console) end end end end desc 'Execute less on current env log file' task :less_log do on roles(:app), in: :parallel, backend: :ssh_command do |*args| within current_path.join('log') do execute(:less, '-R', fetch(:rails_env)+'.log') end end end end
Version data entries
4 entries across 4 versions & 1 rubygems