Skip to content

Instantly share code, notes, and snippets.

@spheromak
Created March 21, 2013 10:15
Show Gist options
  • Select an option

  • Save spheromak/5212007 to your computer and use it in GitHub Desktop.

Select an option

Save spheromak/5212007 to your computer and use it in GitHub Desktop.
execute "echo_path" do
command 'echo $PATH > /tmp/test_path'
environment ({ 'PATH' => "#{ENV['PATH']}:/this/is/something" } )
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment