Created
December 12, 2018 20:36
-
-
Save darkslategrey/884cb19e8e6e251de10690695da3b680 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
echo 'B=inside .env' > .env && \ | |
echo -e "require 'dotenv'; Dotenv.load; task :t do\n puts ENV['B']\nend" > Rakefile && \ | |
export B=exported_b && \ | |
rake t && \ | |
echo -e "\n===\n" && \ | |
unset B && \ | |
rake t |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment