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
puts 'Counting up to 100' | |
100.times do |i| | |
print "\rcurrent number: #{i + 1}" | |
sleep 0.1 | |
end | |
puts '' | |
puts 'Done' |
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
require 'capistrano/ext/multistage' | |
require "bundler/capistrano" | |
#use local key for authentication | |
ssh_options[:forward_agent] = true | |
default_run_options[:pty] = true | |
set :application, 'awesome' | |
set :repository, "[email protected]:zurb/awesome.git" |