Fixed bug with export of RUBIES array since Bash arrays can't be exported at the moment.