[Rubygems-developers] Custom Gemspec Attribute

John Barnette jbarnette at gmail.com
Mon Aug 16 10:29:05 EDT 2010

On Mon, Aug 16, 2010 at 12:08 AM, Ryan Davis <ryand-ruby at zenspider.com> wrote:
> On Aug 15, 2010, at 12:05 , John Barnette wrote:
>> You can fake it with the current version of RubyGems by using
>> Gem#find_files and examining the paths that it returns. Keep in mind
>> that it looks through ALL available versions of all gems, as well as
>> the load path. Really really bad example off the top of my head:
> all _installed_ gems.
> Since the gem index you download doesn't have package contents, this won't help for remote gem searches.

Oops, yeah, looking through the file list on the spec itself for a
token is a lot better.

~ j.

More information about the Rubygems-developers mailing list