fixing pseudotype backtraces in the ruby driver