Skip to content

Instantly share code, notes, and snippets.

@darkslategrey
Created December 12, 2018 20:36
Show Gist options
  • Save darkslategrey/884cb19e8e6e251de10690695da3b680 to your computer and use it in GitHub Desktop.
Save darkslategrey/884cb19e8e6e251de10690695da3b680 to your computer and use it in GitHub Desktop.
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