Skip to content

Instantly share code, notes, and snippets.

@rjpbonnal
Created June 13, 2012 15:40
Show Gist options
  • Save rjpbonnal/2924846 to your computer and use it in GitHub Desktop.
Save rjpbonnal/2924846 to your computer and use it in GitHub Desktop.
Quick and dirty deployment of your Ruby Gem to your server(s)
# You must be the owner of the destination directory
rsync -avz --exclude-from=.gitignore --exclude '.git' -e ssh ./ bioinfoadm@starscream.ingm.ad:/usr/local/lib/ruby/gems/1.9.1/gems/yourgem
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment