Kouhei Sutou
null+****@clear*****
Wed Oct 29 00:05:03 JST 2014
Kouhei Sutou 2014-10-29 00:05:03 +0900 (Wed, 29 Oct 2014) New Revision: c9075f4170e93cbea5d384f40180073ca7cd8662 https://github.com/ranguba/rroonga/commit/c9075f4170e93cbea5d384f40180073ca7cd8662 Message: Regexp should be receiver Because Ruby is object oriented language. Modified files: ext/groonga/extconf.rb Modified: ext/groonga/extconf.rb (+1 -1) =================================================================== --- ext/groonga/extconf.rb 2014-10-29 00:04:43 +0900 (160425e) +++ ext/groonga/extconf.rb 2014-10-29 00:05:03 +0900 (71f5b06) @@ -172,7 +172,7 @@ def n_processors use_processors = 1 if File.exist?(proc_file) cpu_nums = `cat #{proc_file} | grep processor | wc -l` - elsif RUBY_PLATFORM =~ /darwin/ + elsif /darwin/ =~ RUBY_PLATFORM cpu_nums = `sysctl -n hw.ncpu` end use_processors = cpu_nums.to_i -------------- next part -------------- HTML����������������������������...Download