Nitish Upreti
Nitish Upreti

Reputation: 6550

How to specify that gem is JRuby platform only?

I am working on a gem which will only work for JRuby platform.

How can I specify that in my .gemspec?

Upvotes: 10

Views: 1205

Answers (1)

suvankar
suvankar

Reputation: 1558

You can simply put in gemspec spec.platform = 'java' means it works with JRuby only. to specifically set the platform you can take a look: Ruby gem Specification Reference

Upvotes: 10

Related Questions