Hi all,

Windows XP
Ruby 1.8.2

I'm having a bit of trouble building a proper gem for one of the
Win32Utils packages (win32-ipc).  This is a C extension.  Everything
appears to be fine, except that it installs the shared library (.so)
under "lib", instead of "lib/win32".  I've set the Gem#required_paths,
so I'm not sure what I'm doing wrong.

Here is the spec:

require "rubygems"

spec = Gem::Specification.new do |gem|
	gem.name         = "win32-ipc"
	gem.version      = "0.4.1"
	gem.author       = "Daniel J. Berger"
	gem.email        = "djberg96 / gmail.com"
	gem.homepage     = "http://www.rubyforge.org/projects/win32utils"
	gem.platform     = Gem::Platform::WIN32
	gem.summary      = "A base class for Win32 synchronization objects."
	gem.require_paths << "lib/win32"
	gem.test_file    = "test/tc_ipc.rb"
	gem.has_rdoc     = true
	gem.extra_rdoc_files  = ["CHANGES","README"]
	gem.extensions        = ["extconf.rb"]
	gem.rubyforge_project = "win32utils"

	files = Dir["doc/*"] + Dir["examples/*"] + Dir["lib/win32/*"]
	files += Dir["test/*"] + Dir["[A-Z]*"]
	files.delete_if{ |item| item.include?("CVS") }
	gem.files = files
end

if $0 == __FILE__
	Gem.manage_gems
	Gem::Builder.new(spec).build
end

The result is ipc.so installed under
c:/ruby/lib/ruby/gems/1.8/gems/win32-ipc-0.4.1-mswin32/lib instead of
the desired
c:/ruby/lib/ruby/gems/1.8/gems/win32-ipc-0.4.1-mswin32/lib/win32.

Any ideas?  I've tried a few things for 'required_libs' without
success.

Regards,

Dan