iconara / rubydoop

Write Hadoop jobs in JRuby
220 stars 33 forks source link

Support default gems with no directory under gems #18

Closed grddev closed 10 years ago

grddev commented 10 years ago

Rubygems 2.1 introduced a default gem feature and JRuby >= 1.7.5 uses that feature to bundle some gems within the standard library gem path.

As the gems are bundled inside jruby-complete.jar, we do not need to add them once more to the jar file. Trying to do so actually produces an exception, since there is no gem directory for them.

This should resolve issue #15.

This is based on top of #17, to ensure all tests pass on travis.