From: Gavin Sinclair Date: 2004-08-17T12:25:03+09:00 Subject: Re: Recursive install-stub for gems? On Tuesday, August 17, 2004, 10:52:48 AM, Chad wrote: >> >> Shouldn't "gem install X --install-stub" work recursively so that not >> only the top-level loading of the gem is done but it also works for >> files deeper down in the dir? >> > You're not missing anything. We're planning to add the ability to > specify other files that can be stubbed. Right now, though you *can* > do: > require_gem 'net-ssh' > require 'net/ssh/sftp' > Would our proposed change work? We are avoiding stubbing every single > file in the lib, and allowing gem authors to specify the ones that > would make sense (as in sftp). Thanks for answering, Chad. I'm working on this feature at the moment. Robert and others: should it stub every file, or should gem authors decide which files are to be stubbed? Gavin