[Groonga-commit] groonga/heroku-buildpack-groonga at be51966 [master] Show log

Back to archive index

Kouhei Sutou null+****@clear*****
Tue Feb 23 00:02:29 JST 2016


Kouhei Sutou	2016-02-23 00:02:29 +0900 (Tue, 23 Feb 2016)

  New Revision: be51966804a39ae5e05138b28262db8771f2e23c
  https://github.com/groonga/heroku-buildpack-groonga/commit/be51966804a39ae5e05138b28262db8771f2e23c

  Message:
    Show log

  Modified files:
    bin/compile

  Modified: bin/compile (+2 -2)
===================================================================
--- bin/compile    2016-02-23 00:01:10 +0900 (946b4ce)
+++ bin/compile    2016-02-23 00:02:29 +0900 (277138c)
@@ -123,9 +123,9 @@ 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"
-  sh("ls", "-laR", ENV["GRN_PLUGINS_DIR"])
   mkdir_p(File.dirname(database_path))
-  sh("groonga", "-n", database_path, "quit")
+  sh("groonga", "--log-path", "/tmp/log", "--log-level", "debug", "-n", database_path, "quit")
+  puts(File.read("/tmp/log"))
 
   puts("-----> Loading data")
   Dir.glob("groonga/*.grn").sort.each do |grn|
-------------- next part --------------
HTML����������������������������...
Télécharger 



More information about the Groonga-commit mailing list
Back to archive index