Integrating ruby rectifier and working over dynamic gem loading in jruby