Project

General

Profile

Actions

Bug #12736

closed

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

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

Status:
Closed
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 2 (0 open2 closed)

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

Updated by hsbt (Hiroshi SHIBATA) over 8 years ago

  • Status changed from Open to Assigned
  • Assignee set to hsbt (Hiroshi SHIBATA)

数が多くて厳しいのですがハードコードする方向に修正します。

Updated by usa (Usaku NAKAMURA) over 8 years ago

rubygemsにこれを行うメソッドを追加すべきなんじゃないでしょうかね。

Actions #3

Updated by hsbt (Hiroshi SHIBATA) over 8 years ago

  • Status changed from Assigned to Closed

Applied in changeset r56104.


  • ext/psych/psych.gemspec, lib/rdoc/rdoc.gemspec: Use file list instead of
    git output. It shows warning message when invoke make install
    [Bug #12736][ruby-dev:49778]
Actions #4

Updated by znz (Kazuhiro NISHIYAMA) over 7 years ago

  • Related to Bug #13423: error in etc.gemspec added
Actions #5

Updated by znz (Kazuhiro NISHIYAMA) over 7 years ago

  • Related to Bug #13808: lib/ipaddr.gemspec includes `git ls-files -z` added
Actions

Also available in: Atom PDF

Like0
Like0Like0Like0Like0Like0