aboutsummaryrefslogtreecommitdiffhomepage
path: root/ruby/google-protobuf.gemspec
diff options
context:
space:
mode:
authorGravatar Jason Lunn <jlunn@jungroup.com>2016-09-29 00:18:55 -0400
committerGravatar GitHub <noreply@github.com>2016-09-29 00:18:55 -0400
commit07f3cab3dd40dd91df47604ab3dc53fd311d7a60 (patch)
treef76a25d37c9e036a07dba153da3360fc1d514e66 /ruby/google-protobuf.gemspec
parent3d598eeceef7b1162cbbf3024db2939027a3d08a (diff)
Set platform to "java" under JRuby
Proposed fix for #1594
Diffstat (limited to 'ruby/google-protobuf.gemspec')
-rw-r--r--ruby/google-protobuf.gemspec1
1 files changed, 1 insertions, 0 deletions
diff --git a/ruby/google-protobuf.gemspec b/ruby/google-protobuf.gemspec
index 67b15c33..2f7ca3c4 100644
--- a/ruby/google-protobuf.gemspec
+++ b/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/**/*')