Created
April 25, 2012 12:01
-
-
Save vdv/2489231 to your computer and use it in GitHub Desktop.
This file contains hidden or 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
# Prompt to make really sure we want to deploy into prouction | |
puts "\n\e[0;31m ######################################################################" | |
puts " #\n # Are you REALLY sure you want to deploy to production?" | |
puts " #\n # Enter y/N + enter to continue\n #" | |
puts " ######################################################################\e[0m\n" | |
proceed = STDIN.gets[0..0] rescue nil | |
exit unless proceed == 'y' || proceed == 'Y' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment