bump default rubygems to latest-2.2
copy only bin and lib for jruby, closes jruby/jruby#1364