Skip to content

Commit

Permalink
Set platform to "java" under JRuby
Browse files Browse the repository at this point in the history
Proposed fix for protocolbuffers#1594
  • Loading branch information
Jason Lunn committed Sep 29, 2016
1 parent 3d598ee commit 07f3cab
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions ruby/google-protobuf.gemspec
Expand Up @@ -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/**/*')
Expand Down

0 comments on commit 07f3cab

Please sign in to comment.