Created
October 25, 2014 02:13
-
-
Save nsanta/3cf45be2c58fb0af86cf to your computer and use it in GitHub Desktop.
deloy.rb
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
task :logs do | |
on roles(:app) do | |
# Establish link to database before running asset precompile | |
execute :tail, '-f', "#{current_path}/log/#{fetch(:stage)}.log" | |
end | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment