Reputation: 96957
We're using Ruby scripts for certain parts of a build. To execute them, we're using JRuby ( the complete jar ), and so far we haven't made use of any gems outside the stdlib. If for example, I would want use three gems from github, how would I approach this?
I know of Nick Sieger's Gems-in-a-jar article, but it's from 2009. Is it still the accepted way of doing this or did JRuby introduce another method of achieving the same result?
Upvotes: 1
Views: 414
Reputation: 3315
You can use gems-in-a-jar, or you can use Warbler to bundle JRuby and all your gems into a single executable jar.
Upvotes: 2