Kouhei Sutou
null+****@clear*****
Thu Jan 25 17:24:56 JST 2018
Kouhei Sutou 2018-01-25 17:24:56 +0900 (Thu, 25 Jan 2018) New Revision: 5f37d5c0a9b28155b5d56a590243239097343c65 https://github.com/ranguba/rroonga/commit/5f37d5c0a9b28155b5d56a590243239097343c65 Message: windows: support RubyInstaller 2.4 or later [groonga-dev,04565] Reported by ongaeshi. Thanks!!! Modified files: lib/groonga.rb Modified: lib/groonga.rb (+8 -3) =================================================================== --- lib/groonga.rb 2017-07-05 09:30:36 +0900 (83975352) +++ lib/groonga.rb 2018-01-25 17:24:56 +0900 (6a5360ab) @@ -1,6 +1,4 @@ -# -*- coding: utf-8 -*- -# -# Copyright (C) 2009-2013 Kouhei Sutou <kou �� clear-code.com> +# Copyright (C) 2009-2018 Kouhei Sutou <kou �� clear-code.com> # # This library is free software; you can redistribute it and/or # modify it under the terms of the GNU Lesser General Public @@ -32,6 +30,13 @@ if local_groonga_bin_dir.exist? end prepend_path.call("PATH", File::PATH_SEPARATOR) + + begin + require "ruby_installer/runtime" + rescue LoadError + else + RubyInstaller::Runtime.add_dll_directory(local_groonga_bin_dir.to_s) + end end require "groonga/geo-point" -------------- next part -------------- HTML����������������������������... URL: https://lists.osdn.me/mailman/archives/groonga-commit/attachments/20180125/bfcae61f/attachment.htm