[Rubygems-developers] Problems with setup.rb in the rubygems package
drbrain at segment7.net
Tue Oct 23 13:34:37 EDT 2007
On Oct 23, 2007, at 07:41 , Matt Patterson wrote:
> I'm working on building a rubygems .deb package which isn't as
> invasively patched as the standard Debian/Ubuntu one for automated
> deployment stuff I'm working on.
> My issue is that to avoid some of the hacking of post_install.rb that
> needed to be done to get the sources gem built I want to pass another
> option in to setup.rb and pull that value out later.
> The setup.rb docs say to use metaconfig and a call to add_path_config
> within that. This I've done:
The giant setup.rb/post-install.rb is gone. Now there's a nice,
small, readable setup.rb. Oh, and no more sources.gem by default.
Poor workers blame their tools. Good workers build better tools. The
best workers get their tools to do the work for them. -- Syndicate Wars
More information about the Rubygems-developers