Adding JRUBY_HOME before compiling gems for jruby

This would cause certain jruby builds to fail since it couldn't find
the proper path to run the jruby jar.