Kouhei Sutou
null+****@clear*****
Tue Feb 23 00:09:30 JST 2016
Kouhei Sutou 2016-02-23 00:09:30 +0900 (Tue, 23 Feb 2016) New Revision: 8c5c851bf6e3ba9a6f4080bac11f92e999b027ee https://github.com/groonga/heroku-buildpack-groonga/commit/8c5c851bf6e3ba9a6f4080bac11f92e999b027ee Message: Set mecabrc Modified files: bin/compile Modified: bin/compile (+1 -0) =================================================================== --- bin/compile 2016-02-23 00:05:13 +0900 (43a593f) +++ bin/compile 2016-02-23 00:09:30 +0900 (89d8c95) @@ -117,6 +117,7 @@ Dir.chdir(build_dir) do ENV["LD_LIBRARY_PATH"] = build_path_environment_value(ld_library_paths) ENV["GRN_PLUGINS_DIR"] = "#{absolete_prefix}/lib/groonga/plugins" ENV["GRN_RUBY_SCRIPTS_DIR"] = "#{absolete_prefix}/lib/groonga/scripts/ruby" + ENV["MECABRC"] = "#{builddir}/vendor/mecab/etc/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