Adding Ruby to Run Shell Script Action | Automator World

screenshot

<key>/usr/bin/ruby</key> <dict> <key>args</key> <array> <string>-e</string> <string>%</string> <string>--</string> </array> <key>script</key> <array> <string>$stdin.each { |arg| puts arg }</string> <string>ARGV.each { |arg| puts arg }</string> </array> </dict> “I got the idea from this [Apple Discussion post](http://discussions.info.apple.com/webx?50@998.xpfkakoJTsT.1@.68...

http://automatorworld.com/archives/add-ruby-to-shell-scripts/
http://b.hatena.ne.jp/entry/http://automatorworld.com/archives/add-ruby-to-shell-scripts/