Updated Ruby cartridge to use ERB instead of echo