Bugs item #29145, was opened at 2011-04-23 13:36
You can respond by visiting: 
http://rubyforge.org/tracker/?func=detail&atid=575&aid=29145&group_id=126

Category: `gem install` command
Group: None
Status: Open
Resolution: None
Priority: 3
Submitted By: Lars Christensen (larsch)
Assigned to: Nobody (None)
Summary: Dynamically generated GemSpec.files ends up empty 

Initial Comment:
Prawn's gemspec:

  spec.files =  Dir.glob("{examples,lib,spec,data}/**/**/*") +
                      ["Rakefile", "prawn.gemspec"] 

With pristine 1.9.2-p180 on Windows (all good):

  C:\>gem --version
  1.5.2   

  C:\>gem install prawn
  ...

  specifications/prawn-0.11.1.gemspec:

    s.files = ["examples/example_helper.rb"," 
examples/bounding_box/stretched_nesting.rb", 
"examples/bounding_box/bounding_boxes.rb", 
"examples/bounding_box/indentation.rb", ... ]

With upgrades rubygems (s.files misses files):

  C:\>gem update --system
  ...

  C:\>gem --version
  1.7.2

  C:\>gem install prawn
  ...

  specifications/prawn-0.11.1.gemspec:
  s.files = ["HACKING", "README", "LICENSE", "COPYING"]

All .rb files are missing in .files. 

Currently ocra (http://ocra.rubyforge.org/) uses .files to find the files that 
are included in a gem, and hence fails miserably when they are not actually 
listen in the .gemspec file.

----------------------------------------------------------------------

You can respond by visiting: 
http://rubyforge.org/tracker/?func=detail&atid=575&aid=29145&group_id=126
_______________________________________________
Rubygems-developers mailing list
http://rubyforge.org/projects/rubygems
Rubygems-developers@rubyforge.org
http://rubyforge.org/mailman/listinfo/rubygems-developers

Reply via email to