YUKI Hiroshi
null+****@clear*****
Fri Sep 27 17:52:27 JST 2013
YUKI Hiroshi 2013-09-27 17:52:27 +0900 (Fri, 27 Sep 2013) New Revision: 3c22ed5f35867dd2f9c305df549d9eedc08624ef https://github.com/droonga/fluent-plugin-droonga/commit/3c22ed5f35867dd2f9c305df549d9eedc08624ef Message: Expand path correctly Modified files: lib/droonga/catalog.rb Modified: lib/droonga/catalog.rb (+1 -1) =================================================================== --- lib/droonga/catalog.rb 2013-09-27 17:47:25 +0900 (831ed0e) +++ lib/droonga/catalog.rb 2013-09-27 17:52:27 +0900 (a29b80a) @@ -30,7 +30,7 @@ module Droonga def initialize catalog_path = ENV["DROONGA_CATALOG"] || CATALOG_FILE_PATH - catalog_path = File.expand_path("~/groonga/") + catalog_path = File.expand_path(catalog_path) open(catalog_path) do |file| @catalog = JSON.parse(file.read) end -------------- next part -------------- HTML����������������������������... Download