love and care for our ruby segment

this also adds better support for jruby because now a jvm won't be fired up every time we re-write our prompt