浏览代码

Set platform to "java" under JRuby

Proposed fix for #1594
Jason Lunn 9 年之前
父节点
当前提交
07f3cab3dd
共有 1 个文件被更改,包括 1 次插入0 次删除
  1. 1 0
      ruby/google-protobuf.gemspec

+ 1 - 0
ruby/google-protobuf.gemspec

@@ -10,6 +10,7 @@ Gem::Specification.new do |s|
   s.require_paths = ["lib"]
   s.files       = Dir.glob('lib/**/*.rb')
   if RUBY_PLATFORM == "java"
+    s.platform  = "java"
     s.files     += ["lib/google/protobuf_java.jar"]
   else
     s.files     += Dir.glob('ext/**/*')