Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Fetching contributors…

Cannot retrieve contributors at this time

executable file 24 lines (21 sloc) 0.441 kb
#!/usr/bin/env ruby
require 'fileutils'
include FileUtils::Verbose
require 'rbconfig'
include\
begin
RbConfig
rescue NameError
Config
end
sitelibdir = CONFIG["sitelibdir"]
cd 'lib' do
install('json.rb', sitelibdir)
mkdir_p File.join(sitelibdir, 'json')
for file in Dir['json/**/*}']
d = File.join(sitelibdir, file)
mkdir_p File.dirname(d)
install(file, d)
end
end
warn " *** Installed PURE ruby library."
Jump to Line
Something went wrong with that request. Please try again.