Kouhei Sutou
null+****@clear*****
Tue Feb 23 10:35:20 JST 2016
Kouhei Sutou 2016-02-23 10:35:20 +0900 (Tue, 23 Feb 2016) New Revision: 6a59945d5cd22a28985f4979be871895aa19d502 https://github.com/groonga/heroku-buildpack-groonga/commit/6a59945d5cd22a28985f4979be871895aa19d502 Message: Show more debug log Modified files: bin/compile Modified: bin/compile (+3 -0) =================================================================== --- bin/compile 2016-02-23 10:33:47 +0900 (8bae543) +++ bin/compile 2016-02-23 10:35:20 +0900 (cf86ee8) @@ -123,7 +123,10 @@ Dir.chdir(build_dir) do mecabrc = "#{build_dir}/vendor/mecab/etc/mecabrc" mecabrc_suffix = ".compiling" ENV["MECABRC"] = "#{mecabrc}#{mecabrc_suffix}" + puts(File.read(ENV["MECABRC"])) sh("sed", "-i#{mecabrc_suffix}", "-e", "s,/app,#{build_dir},g", mecabrc) + puts("=" * 40) + puts(File.read(ENV["MECABRC"])) mkdir_p(File.dirname(database_path)) sh("groonga", "--log-path", "/tmp/log", "--log-level", "debug", "-n", database_path, "quit") puts(File.read("/tmp/log")) -------------- next part -------------- HTML����������������������������... Download