Project

General

Profile

Bug #12736

`make install` says `fatal: Not a git repository (or any of the parent directories): .git`

Added by znz (Kazuhiro NISHIYAMA) over 4 years ago. Updated over 4 years ago.

Status:
Closed
Priority:
Normal
Target version:
-
ruby -v:
ruby 2.4.0dev (2016-09-07 trunk 56091) [x86_64-linux]
[ruby-dev:49778]

Description

make install の時に fatal: Not a git repository (or any of the parent directories): .git というメッセージが2回出ます。

ext/psych/psych.gemspec と lib/rdoc/rdoc.gemspec の

s.files = `git ls-files -z`.split("\x0").reject { |f| f.match(%r{^(test|spec|features)/}) }

が原因のようです。


Related issues

Related to Ruby master - Bug #13423: error in etc.gemspecClosedhsbt (Hiroshi SHIBATA)Actions
Related to Ruby master - Bug #13808: lib/ipaddr.gemspec includes `git ls-files -z`Closedknu (Akinori MUSHA)Actions

Also available in: Atom PDF