Skip to content

Instantly share code, notes, and snippets.

@pablopaul pablopaul/test_stage.rake
Last active Mar 1, 2016

Embed
What would you like to do?
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
You can’t perform that action at this time.