From 43ec6b14c413786701ad5e89c076dbd171c8bf6f Mon Sep 17 00:00:00 2001 From: Pankaj Tyagi Date: Fri, 4 Apr 2014 11:22:29 -0400 Subject: [PATCH] Dont use git ls-files in gemspec https://github.com/matheusmoreira/ribbon/issues/2 This resolves https://github.com/matheusmoreira/ribbon/issues/2. This way the gem can be used in places where there is no git (like production deployments) --- ribbon.gemspec | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ribbon.gemspec b/ribbon.gemspec index 5ad539e..34cd086 100755 --- a/ribbon.gemspec +++ b/ribbon.gemspec @@ -15,7 +15,7 @@ Gem::Specification.new 'ribbon' do |gem| gem.author = 'Matheus Afonso Martins Moreira' gem.email = 'matheus.a.m.moreira@gmail.com' - gem.files = `git ls-files`.split "\n" + gem.files = Dir['{lib,doc,test}/**/*', 'README*', 'LICENSE*'] gem.add_runtime_dependency 'jewel'