Sha256: e95430ed035990e2b1292294fe822cc4dceaf0a6e88b0567a4533dd73ff4ea0d
Contents?: true
Size: 886 Bytes
Versions: 6
Compression:
Stored size: 886 Bytes
Contents
#!/usr/bin/env ruby # * George Moschovitis <gm@navel.gr> # (c) 2004-2005 Navel, all rights reserved. # $Id$ require 'rbconfig' require 'ftools' dst_dir = Config::CONFIG['sitelibdir'] Dir.chdir('lib') do Dir['**/*.rb'].each do |file| File.mkpath File.join(dst_dir, File.dirname(file)), true File.install file, File.join(dst_dir, file), 0644, true end end # gmosx: this is potentially dangerous, rethink. Dir.chdir('vendor') do Dir['**/*.rb'].each do |file| File.mkpath File.join(dst_dir, File.dirname(file)), true File.install file, File.join(dst_dir, file), 0644, true end end puts %{ --- Congratulations, you have successfully installed Nitro + Og! The libraries where installed in '#{dst_dir}'. To verify that everything works correctly, try to run the tiny example by issuing: $ cd exampes/tiny $ ruby ctl at the command line. Enjoy the magic of Nitro! }
Version data entries
6 entries across 6 versions & 2 rubygems
Version | Path |
---|---|
nitro-0.10.0 | install.rb |
nitro-0.11.0 | install.rb |
nitro-0.12.0 | install.rb |
og-0.10.0 | install.rb |
og-0.11.0 | install.rb |
og-0.12.0 | install.rb |