Kouhei Sutou
null+****@clear*****
Wed Jan 14 19:13:38 JST 2015
Kouhei Sutou 2015-01-14 19:13:38 +0900 (Wed, 14 Jan 2015) New Revision: 723b42031ddeb22ea896c3bf32636bf7b11ef171 https://github.com/groonga/groonga/commit/723b42031ddeb22ea896c3bf32636bf7b11ef171 Message: mrb: check whether load target is file Modified files: lib/mrb/scripts/require.rb Modified: lib/mrb/scripts/require.rb (+1 -1) =================================================================== --- lib/mrb/scripts/require.rb 2015-01-14 17:43:31 +0900 (0854d23) +++ lib/mrb/scripts/require.rb 2015-01-14 19:13:38 +0900 (a824e92) @@ -49,7 +49,7 @@ class ScriptLoader return false if $".include?(path) return false if @@loading_paths.key?(path) - return nil unless File.exist?(path) + return nil unless File.file?(path) @@loading_paths[path] = true load(path) -------------- next part -------------- HTML����������������������������...ダウンロード