| Index: third_party/protobuf/ruby/lib/google/protobuf.rb
|
| diff --git a/third_party/protobuf/ruby/lib/google/protobuf.rb b/third_party/protobuf/ruby/lib/google/protobuf.rb
|
| index 9b8d8231e2faf51f938db7b55a3231bee70c198c..62bdd1bf1af30552a1745e3dda399f7deb08ccce 100644
|
| --- a/third_party/protobuf/ruby/lib/google/protobuf.rb
|
| +++ b/third_party/protobuf/ruby/lib/google/protobuf.rb
|
| @@ -45,7 +45,7 @@ if RUBY_PLATFORM == "java"
|
| require 'google/protobuf_java'
|
| else
|
| begin
|
| - require "google/#{RUBY_VERSION.sub(/\.\d+$/, '')}/protobuf_c"
|
| + require "google/#{RUBY_VERSION.sub(/\.\d$/, '')}/protobuf_c"
|
| rescue LoadError
|
| require 'google/protobuf_c'
|
| end
|
|
|