Sha256: 27e3bcc1ce24fb9ed1963e6db4ae1b443bc172af863b04722341bc613ef6bce2
Contents?: true
Size: 979 Bytes
Versions: 3
Compression:
Stored size: 979 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! The libraries where installed in '#{dst_dir}'. You probably need to install the Glue and Og libraries as well. (http://nitro.rubyforge.org) To verify that everything works correctly, try to run the tiny example by issuing: $ cd exampes/tiny $ ruby run.rb at the command line. Enjoy the magic of Nitro! }
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
nitro-0.14.0 | install.rb |
nitro-0.13.0 | install.rb |
nitro-0.15.0 | install.rb |