diff options
Diffstat (limited to 'src/ruby/lib/grpc.rb')
-rw-r--r-- | src/ruby/lib/grpc.rb | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/src/ruby/lib/grpc.rb b/src/ruby/lib/grpc.rb index 7890e17551..8512856259 100644 --- a/src/ruby/lib/grpc.rb +++ b/src/ruby/lib/grpc.rb @@ -32,11 +32,7 @@ unless ENV['GRPC_DEFAULT_SSL_ROOTS_FILE_PATH'] ENV['GRPC_DEFAULT_SSL_ROOTS_FILE_PATH'] = ssl_roots_path end -begin - require "grpc/#{RUBY_VERSION.sub(/\.\d$/, '')}/grpc" -rescue LoadError - require 'grpc/grpc' -end +require 'grpc/loader' require 'grpc/errors' require 'grpc/logconfig' |