YUKI Hiroshi
null+****@clear*****
Fri May 29 17:41:14 JST 2015
YUKI Hiroshi 2015-05-29 17:41:14 +0900 (Fri, 29 May 2015) New Revision: a887822bd729896b00b32df51f4fb34e42ef13d4 https://github.com/droonga/droonga-client-ruby/commit/a887822bd729896b00b32df51f4fb34e42ef13d4 Message: Use local grn2drn if possible Modified files: Gemfile Modified: Gemfile (+9 -1) =================================================================== --- Gemfile 2015-05-29 17:19:30 +0900 (fff1182) +++ Gemfile 2015-05-29 17:41:14 +0900 (bc754c1) @@ -1,6 +1,6 @@ # -*- mode: ruby; coding: utf-8 -*- # -# Copyright (C) 2013 Droonga Project +# Copyright (C) 2013-2015 Droonga Project # # This library is free software; you can redistribute it and/or # modify it under the terms of the GNU Lesser General Public @@ -19,3 +19,11 @@ source 'https://rubygems.org' # Specify your gem's dependencies in droonga-client.gemspec gemspec + +parent_dir = File.join(File.dirname(__FILE__), "..") +grn2drn_dir = File.join(parent_dir, "grn2drn") +if File.exist?(grn2drn_dir) + gem "grn2drn", :path => grn2drn_dir +else + gem "grn2drn", :github => "droonga/grn2drn" +end -------------- next part -------------- HTML����������������������������...Download