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
  • 46,189
  • 17
  • 92
  • 133
Geo
  • 93,257
  • 117
  • 344
  • 520

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,315
  • 20
  • 14