I forgot that you needed to modify GEM. Indeed, you should have quit civ5 and modify it. However, there is no need to start over the whole cache deletion now: I asked you to do this because I was thinking about a cache corruption, something that will not happen twice. But you still need to modify GEM if you intend to continue using it with LuaJIT
So...
* The crash with LuaJIT means that for some reason the changes I made in the beta reveal a bug inside LuaJIT or Civ5. Since I cannot fix them, I will revert this change and see if I can find another way to prevent the error I saw.
* The instant game over without LuaJIT surprises me a lot: could you provide a lua log for this one please? By the way, lua logs are usually useless on crashes since crashes are not caused by errors in the mods. Which means there are no errors on the logs.
So...
* The crash with LuaJIT means that for some reason the changes I made in the beta reveal a bug inside LuaJIT or Civ5. Since I cannot fix them, I will revert this change and see if I can find another way to prevent the error I saw.
* The instant game over without LuaJIT surprises me a lot: could you provide a lua log for this one please? By the way, lua logs are usually useless on crashes since crashes are not caused by errors in the mods. Which means there are no errors on the logs.