From: "Mauricio Fernández" Date: 2003-07-25T17:36:23+09:00 Subject: Re: Packaging pure ruby files when using extconf.rb On Fri, Jul 25, 2003 at 04:27:47PM +0900, Paul William wrote: > Hi, > > I am writing a C extension but I want to include some classes written in > pure ruby. How can I package the pure ruby files so that it is install > when the user runs > ruby extconf.rb && make && make install You can use Minero Aoki's install.rb * put extconf.rb + sources in ext/extname/ * create a MANIFEST file in ext/extname, containing the names of all files in that dir * put the .rb files in lib/ Add README, TODO, LICENSE, etc in the top dir (and install.rb of course :) and you have a nice 'standard' package. -- _ _ | |__ __ _| |_ ___ _ __ ___ __ _ _ __ | '_ \ / _` | __/ __| '_ ` _ \ / _` | '_ \ | |_) | (_| | |_\__ \ | | | | | (_| | | | | |_.__/ \__,_|\__|___/_| |_| |_|\__,_|_| |_| Running Debian GNU/Linux Sid (unstable) batsman dot geo at yahoo dot com Win95 is not a virus; a virus does something. -- unknown source