Skip to content

Instantly share code, notes, and snippets.

@fanktom
Created February 10, 2013 19:14
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save fanktom/4750675 to your computer and use it in GitHub Desktop.
Save fanktom/4750675 to your computer and use it in GitHub Desktop.
Automatically copies the rmate ruby script to a remote server to give him rmate support
#!/usr/bin/env bash
# encoding: UTF-8
TEXT_MATE_APP_NAME="TextMate2"
scp /Applications/$TEXT_MATE_APP_NAME.app/Contents/Frameworks/Preferences.framework/Resources/rmate $1:/usr/bin/rmate
# Usage
# Copy this file to localhost /usr/bin/rmateify
# Run rmateify root@servername once
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment