「Minillaをインストールしようと思ったらテストが通らない!><」と思ったら~/.gitignoreのせいでした
家でサクッとインストールできたはずなのに会社で以下のようなエラーが出て「あれー!」となりました。
===( 49;1 0/? 0/? 1/? )=========================================Use of uninitialized value in string eq at /Users/no-kumagai/.cpanm/work/1386851499.15174/Minilla-v0.11.0/blib/lib/Minilla/ReleaseTest.pm line 49. # Failed test at t/filegatherer.t line 32. # got: '.gitmodules,META.json,README,foo,libfoo/foo.c' # expected: '.dot/dot,.gitignore,.gitmodules,META.json,README,foo,libfoo/foo.c,xtra/.dot,xtra/.dotdir/dot' # Looks like you failed 1 test of 1. # Failed test 'include_dotfiles' # at t/filegatherer.t line 33. Use of uninitialized value in string eq at /Users/no-kumagai/.cpanm/work/1386851499.15174/Minilla-v0.11.0/blib/lib/Minilla/ReleaseTest.pm line 49. ===( 50;2 0/? 0/? 2/? )========================================= # Looks like you failed 1 test of 3. # Failed test 'FileGatherer' # at t/filegatherer.t line 45. # Looks like you failed 1 test of 2. t/filegatherer.t ................... Dubious, test returned 1 (wstat 256, 0x100)
で、コケた結果見たらわかるとおり.(ドットファイル)でこけてる。
単純に~/.gitignoreに
.*
が入ってたからだけでした(ドットファイルはとりあえず弾いて必要なやつだけ追加できるようにする派です)。