Sha256: 2df5c83e1c2c50b14ce44bc533b5438035ab28facd4be2bf8bc6a50f0310d4f8

Contents?: true

Size: 505 Bytes

Versions: 3

Compression:

Stored size: 505 Bytes

Contents

#!/usr/bin/env ruby

$VERBOSE = true

require 'rbconfig'
require 'find'
require 'fileutils'

include Config

files = %w{ stdrubyext.rb ioextras.rb zip.rb zipfilesystem.rb ziprequire.rb tempfile_bugfixed.rb }

INSTALL_DIR = File.join(CONFIG["sitelibdir"], "zip")
FileUtils.makedirs(INSTALL_DIR)

SOURCE_DIR = File.join(File.dirname($0), "lib/zip")

files.each { 
  |filename|
  installPath = File.join(INSTALL_DIR, filename)
  FileUtils::install(File.join(SOURCE_DIR, filename), installPath, 0644, true)
}

Version data entries

3 entries across 3 versions & 2 rubygems

Version Path
erawk-rubyzip-0.9.1 install.rb
erawk-rubyzip-0.9.2 install.rb
febeling-rubyzip-0.9.2 install.rb