Skip to content

Instantly share code, notes, and snippets.

@rgo
Created July 6, 2011 14:51
Show Gist options
  • Save rgo/1067413 to your computer and use it in GitHub Desktop.
Save rgo/1067413 to your computer and use it in GitHub Desktop.
Execute (remote) a ruby script
#!/usr/bin/env ruby
ruby -e "require 'open-uri'; system open('http:// or local file').read"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment