Sha256: 268e8db84524450a4f09fc38fae2d3b3683bb65263713a7211fa1a07e08241b5

Contents?: true

Size: 1021 Bytes

Versions: 6

Compression:

Stored size: 1021 Bytes

Contents

#!/usr/bin/env ruby

# * George Moschovitis  <gm@navel.gr>
# (c) 2004-2005 Navel, all rights reserved.
# $Id: install.rb 1 2005-04-11 11:04:30Z gmosx $

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

6 entries across 6 versions & 1 rubygems

Version Path
nitro-0.16.0 install.rb
nitro-0.17.0 install.rb
nitro-0.18.0 install.rb
nitro-0.18.1 install.rb
nitro-0.19.0 install.rb
nitro-0.20.0 install.rb