Rvm jruby rackup - adding -J-D type java directives

Anyone know of a way to add java directives to the JVM before rackup
invokes ruby.

I mean should I be looking at the rackup script or something in rvm or
perhaps ENV.

I’ve googled without much success.

Thanks,

Guy