curl -Lo /usr/bin/rmate https://raw.github.com/aurora/rmate/master/rmate
chmod +x /usr/bin/rmate
Check the "Allow rmate connections" box in the "Terminal" settings in TextMate preferences.
Run on the dev system. Leave running in an open terminal window.
ssh -R 52698:localhost:52698 your_server
rmate file_you_want_to_edit