class Sprinkle::Installers::Binary
The Binary
installer will download a binary archive and then extract it in the directory specified by the prefix option.
Example Usage¶ ↑
binary "http://some.url.com/archive.tar.gz" do prefix "/home/user/local" archives "/home/user/sources" end
This example will download archive.tar.gz to /home/user/sources and then extract it into /home/user/local.
Public Instance Methods
binary(source, options = {}, &block)
click to toggle source
# File lib/sprinkle/installers/binary.rb, line 18 def binary(source, options = {}, &block) install Binary.new(self, source, options, &block) end