In this blog post I'll demonstrate how to create a JRuby fat jar that will include all gem dependencies inside of it. The dependencies themselves will be handled by Bundler.

1. Let's create a CentOS container to run our tests in:

docker run -dt --name=centos --hostname=centos --net=host …