Rails, production-env, “Object is not missing constant”

后端 未结 4 1647
借酒劲吻你
借酒劲吻你 2021-01-15 11:17

So I seems I was stupid and haven\'t checked running in production-env for a long time, and now that I\'m trying to deploy, I\'m getting this annoying error. Any ideas?

4条回答
  •  余生分开走
    2021-01-15 11:52

    ok, after many more hours of digging, it seems it wasn't even related to this stuff at all. It was an error about 3 more classes down the tree, that was failing for another strange reason, and the exception was apparently being caught by the internals of rails somewhere and just ignored.

    That doesn't explain why it worked in development mode, unfortunately, but at least all my stuff works now. Thanks anyway!

提交回复
热议问题