diff options
author | Craig Tiller <ctiller@google.com> | 2017-01-27 16:07:01 -0800 |
---|---|---|
committer | Craig Tiller <ctiller@google.com> | 2017-01-27 16:07:01 -0800 |
commit | d9b2d94c687ccb5b46ed4c4c3d1167ebec380d7d (patch) | |
tree | 5a292078ee6b243f20e21fea60fef9e72228bccc /src/ruby/tools/bin/grpc_tools_ruby_protoc | |
parent | faa835c308ad7c107f08d9065d24dfc589b1cb20 (diff) | |
parent | 46357c882df1afc28f7a5228c40fde522093fa32 (diff) |
Merge github.com:grpc/grpc into large_message_benchmarks
Diffstat (limited to 'src/ruby/tools/bin/grpc_tools_ruby_protoc')
-rwxr-xr-x | src/ruby/tools/bin/grpc_tools_ruby_protoc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/ruby/tools/bin/grpc_tools_ruby_protoc b/src/ruby/tools/bin/grpc_tools_ruby_protoc index dab06e7958..7e619e74a9 100755 --- a/src/ruby/tools/bin/grpc_tools_ruby_protoc +++ b/src/ruby/tools/bin/grpc_tools_ruby_protoc @@ -30,7 +30,7 @@ require 'rbconfig' -require_relative '../os_check' +require_relative '../platform_check' ext = RbConfig::CONFIG['EXEEXT'] @@ -39,7 +39,7 @@ protoc_name = 'protoc' + ext plugin_name = 'grpc_ruby_plugin' + ext protoc_dir = File.join(File.dirname(__FILE__), - RbConfig::CONFIG['host_cpu'] + '-' + OS.os_name) + PLATFORM.architecture + '-' + PLATFORM.os_name) protoc_path = File.join(protoc_dir, protoc_name) |