diff options
author | Nicolas "Pixel" Noble <pixel@nobis-crew.org> | 2016-08-19 22:53:15 +0200 |
---|---|---|
committer | Nicolas "Pixel" Noble <pixel@nobis-crew.org> | 2016-08-19 22:53:15 +0200 |
commit | 398dde49fc6358c3dc7461ea3a6d7a7fbf883d9e (patch) | |
tree | 02ae98783f1d5e44f05cad4aa729638de6f37999 | |
parent | 47127507bee18ed701a4c6be7748f4f72d35117d (diff) |
Restoring require_relative.
-rw-r--r-- | src/ruby/lib/grpc/grpc.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ruby/lib/grpc/grpc.rb b/src/ruby/lib/grpc/grpc.rb index 720e821619..eff84a47a6 100644 --- a/src/ruby/lib/grpc/grpc.rb +++ b/src/ruby/lib/grpc/grpc.rb @@ -29,7 +29,7 @@ begin RUBY_VERSION =~ /(\d+\.\d+)/ - require "#{$1}/grpc_c" + require_relative "#{$1}/grpc_c" rescue LoadError require_relative 'grpc_c' end |