#!/usr/bin/env ruby require 'rbconfig' require 'fileutils' include FileUtils::Verbose include Config cd 'lib' do libdir = CONFIG["sitelibdir"] subdir = 'file' filename = 'tail.rb' dest = File.join(libdir, subdir) mkdir_p(dest) file = File.join('file', filename) install(file, dest) end # vim: set et sw=2 ts=2: