Sha256: b58b3467a7c09bc37c7efafb1b2410959f85838e3f02bac05179327766b89b7d

Contents?: true

Size: 954 Bytes

Versions: 6

Compression:

Stored size: 954 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 Og!
The libraries where installed in '#{dst_dir}'. 

You probably need to install the Glue library 
as well. (http://nitro.rubyforge.org)

To verify that everything works correctly, try to run an 
example by issuing:

$ cd examples
$ ruby run.rb

at the command line.

Enjoy the magic of Og!
}

Version data entries

6 entries across 6 versions & 2 rubygems

Version Path
glue-0.13.0 install.rb
glue-0.14.0 install.rb
glue-0.15.0 install.rb
og-0.13.0 install.rb
og-0.14.0 install.rb
og-0.15.0 install.rb