lib/capones_recipes/tasks/rails/logs.rb in capones_recipes-1.13.3 vs lib/capones_recipes/tasks/rails/logs.rb in capones_recipes-1.13.4

- old
+ new

@@ -1,7 +1,7 @@ Capistrano::Configuration.instance.load do desc "Watch the log on the application server." - task :watch_logs, :role => :app do + task :watch_logs, :roles => :app do log_file = "#{shared_path}/log/#{rails_env}.log" run "tail -f #{log_file}" do |channel, stream, data| puts data if stream == :out if stream == :err