Sha256: 0f9b54e1656a35a12020c321066f4d32279b3561c24526f1ba1993e3f4ee01d1
Contents?: true
Size: 406 Bytes
Versions: 1
Compression:
Stored size: 406 Bytes
Contents
require "rbconfig" require "ftools" include Config sitedir = CONFIG['sitelibdir'] file = "lib/crypt/fog.rb" begin unless File.exist?("#{sitedir}/crypt") Dir.mkdir("#{sitedir}/crypt") end puts "cp #{file} #{sitedir}/crypt" File.copy(file,"#{sitedir}/crypt") rescue => e puts "Unable to copy files to sitelibdir [#{sitedir}]: #{e}" exit end puts "crypt-fog installed successfully"
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
crypt-fog-0.1.0 | install.rb |