Skip to content

Instantly share code, notes, and snippets.

@jamiejackson
Created July 21, 2018 22:11
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save jamiejackson/176cf94c7b1766fd7f0f92601ab16586 to your computer and use it in GitHub Desktop.
Save jamiejackson/176cf94c7b1766fd7f0f92601ab16586 to your computer and use it in GitHub Desktop.
compose_env_vars={A:"Y",B:"Z"}
thing="#{compose_env_vars.each{ |key, value| print "#{key}=#{value} " }} docker-compose"
puts thing
# desired: A=Y B=Z docker-compose
# actual: {:A=>"Y", :B=>"Z"} docker-compose
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment