Last active
March 1, 2016 16:30
-
-
Save pablopaul/c5d34c581eadc3159c80 to your computer and use it in GitHub Desktop.
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
desc "Test env" | |
task :test_env do | |
on roles(:all) do | |
puts fetch(:stage) # puts "local" | |
if fetch(:stage) == 'local' | |
puts "helo" # does not put "helo", when called as "cap local test_env", why? | |
end | |
end | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment