Ruby testing

Further work to make the bundled version of ruby enabled system-wide.