Sha256: 5fafa976a126762cab8acd5c69c33d2a4636b76baf9985b09b4934b94461d5ff

Contents?: true

Size: 996 Bytes

Versions: 7

Compression:

Stored size: 996 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 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

7 entries across 7 versions & 2 rubygems

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