Skip to content

Instantly share code, notes, and snippets.

@mrsimo
Created August 26, 2010 14:10
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 mrsimo/551443 to your computer and use it in GitHub Desktop.
Save mrsimo/551443 to your computer and use it in GitHub Desktop.
commit 2400f944f6b5d850c33158ae27f501e9ec8c1aba
Author: Albert Llop <mrsimo@gmail.com>
Date: Thu Aug 26 16:07:46 2010 +0200
First steps into the Package module
Allows the installation of packages from a url. For example:
require 'geoffrey'
Geoffrey.package do
url 'http://www.culater.net/dl/files/SIMBL-0.9.7a.zip'
options :sudo => true
end
Will download SIMBL, extract it, and install the pkg asking for the password. R0cks!
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment