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

后端 未结 4 1649
借酒劲吻你
借酒劲吻你 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:37

    You shouldn't have to have the require 'history_tools' in the environment.rb. In that version of Rails all files in the lib folder should be auto-loaded.

提交回复
热议问题