Rails Env Issue

て烟熏妆下的殇ゞ 提交于 2021-02-10 14:24:58

问题


So the other day I was trying to replicate some of the tests that were being ran by circleci and before some of the commands I called:

export RAILS_ENV=test
export RACK_ENV=test

and now I guess the problem is that I seem to be stuck in test?

Also, I've tried executing those same commands except with each of the vars set to development, yet to no avail.

Any ideas?


回答1:


try 'unsetting' those env variables.

export RAILS_ENV=
export RACK_ENV=

or try restarting the server to set them back to default.



来源:https://stackoverflow.com/questions/19667526/rails-env-issue

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!