From 3cfaf47109a1b759d3c3573ac2bdb34eb62187c8 Mon Sep 17 00:00:00 2001 From: winton Date: Sun, 9 Jan 2011 21:47:26 -0800 Subject: [PATCH] Gems not getting any files (oops) --- gem_template.gemspec | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/gem_template.gemspec b/gem_template.gemspec index a6003ab..abbbba3 100644 --- a/gem_template.gemspec +++ b/gem_template.gemspec @@ -26,7 +26,7 @@ Gem::Specification.new do |s| end s.executables = `cd #{root} && git ls-files -- {bin}/*`.split("\n").collect { |f| File.basename(f) } - s.files = `cd #{root} && git ls-files`.split("\n") + s.files = `cd #{root} && git ls-files`.split("\n").collect { |f| "#{root}/#{f}" } s.require_paths = %w(lib) - s.test_files = `cd #{root} && git ls-files -- {features,test,spec}/*`.split("\n") + s.test_files = `cd #{root} && git ls-files -- {features,test,spec}/*`.split("\n").collect { |f| "#{root}/#{f}" } end \ No newline at end of file