Skip to content

Instantly share code, notes, and snippets.

@nathos
Created September 19, 2009 08:44
Show Gist options
  • Save nathos/189444 to your computer and use it in GitHub Desktop.
Save nathos/189444 to your computer and use it in GitHub Desktop.
Pirate-ize for Mac OS X Automator
input = STDIN.read
input.strip!
require 'rubygems'
if !Gem.available?("mdeering-booty")
puts "Please install the 'Booty' gem: http://github.com/mdeering/booty"
else
require 'booty'
puts Booty.call(input)
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment