Project

General

Profile

Actions

Bug #12736

closed

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

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

Added by znz (Kazuhiro NISHIYAMA) about 9 years ago. Updated about 9 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 - Bug #13423: error in etc.gemspecClosedhsbt (Hiroshi SHIBATA)Actions
Related to Ruby - Bug #13808: lib/ipaddr.gemspec includes `git ls-files -z`Closedknu (Akinori MUSHA)Actions

Updated by hsbt (Hiroshi SHIBATA) about 9 years ago Actions #1 [ruby-dev:49779]

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

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

Updated by usa (Usaku NAKAMURA) about 9 years ago Actions #2 [ruby-dev:49780]

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

Updated by hsbt (Hiroshi SHIBATA) about 9 years ago Actions #3

  • 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]

Updated by znz (Kazuhiro NISHIYAMA) over 8 years ago Actions #4

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

Updated by znz (Kazuhiro NISHIYAMA) about 8 years ago Actions #5

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

Also available in: PDF Atom