Skip to content

Instantly share code, notes, and snippets.

@someara
Created December 13, 2011 22:31
Show Gist options
  • Save someara/1474223 to your computer and use it in GitHub Desktop.
Save someara/1474223 to your computer and use it in GitHub Desktop.
execute "append some shit" do
command "echo 'some shit' >> /some/file"
not_if "grep 'some shit' /some/file"
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment