From: Reid Morrison Date: 2007-01-19T09:55:04+09:00 Subject: Gem install extension in sub-directory under lib? I am in the process of setting up the Gem install packages for Ruby WMQ. The challenge is that I need to put the extension library wmq.so into a sub-directory under lib. E.g. lib/wmq/wmq.so The Gem spec is complete and includes all the required .rb files. The gem successfully builds and creates the necessary documentation. The other Ruby files are all copied across correctly into the Gem cache. E.g. lib/wmq/wmq_const.rb After building the extension through extconf.rb, the Gem install process moves the wmq.so file under the lib directory. Is there some way to tell the Gem installer to put the file wmq.so into lib/wmq rather than just under lib? Thank you Reid -- Posted via http://www.ruby-forum.com/.