<?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> <plist version="1.0"> <dict> <key>beforeRunningCommand</key> <string>nop</string> <key>command</key> <string>#! /usr/bin/env ruby ENV['TM_BUNLE_SUPPORT'] path = File.join( ENV['TM_BUNDLE_SUPPORT'], '/lib/add.rb') p path exec("ruby #{path.dump} &")</string> <key>input</key> <string>selection</string> <key>name</key> <string>Add</string> <key>output</key> <string>showAsTooltip</string> <key>uuid</key> <string>11C247C7-5739-444D-93B0-0118D4A0F4A9</string> </dict> </plist>