1

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?

Tom Anderson
  • 42,965
  • 15
  • 81
  • 123
Geo
  • 85,654
  • 109
  • 315
  • 497

1 Answers1

2

You can use gems-in-a-jar, or you can use Warbler to bundle JRuby and all your gems into a single executable jar.

Nick Sieger
  • 3,270
  • 17
  • 13