[Groonga-commit] droonga/wikipedia-search at 38da5c4 [master] Fix load path

Back to archive index

YUKI Piro Hiroshi null+****@clear*****
Fri Jul 11 10:48:53 JST 2014


YUKI "Piro" Hiroshi	2014-07-11 10:48:53 +0900 (Fri, 11 Jul 2014)

  New Revision: 38da5c4d32f9c37eada60531836b725e92495c48
  https://github.com/droonga/wikipedia-search/commit/38da5c4d32f9c37eada60531836b725e92495c48

  Message:
    Fix load path

  Modified files:
    bin/wikipedia-to-groonga.rb

  Modified: bin/wikipedia-to-groonga.rb (+1 -1)
===================================================================
--- bin/wikipedia-to-groonga.rb    2014-07-10 17:37:50 +0900 (bcae968)
+++ bin/wikipedia-to-groonga.rb    2014-07-11 10:48:53 +0900 (2bcd8b8)
@@ -4,7 +4,7 @@ require "pathname"
 require "ostruct"
 require "optparse"
 
-base_dir_path = Pathname.new(__FILE__).dirname
+base_dir_path = Pathname.new(__FILE__).dirname.parent
 lib_dir_path = base_dir_path + "lib"
 
 $LOAD_PATH.unshift(lib_dir_path.to_s)
-------------- next part --------------
HTML����������������������������...
下載 



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