I have running rails application. I cannot restart the server.
I have an environment variable that I need to change. I tried to do it through the rails console
ENV['SCORE'] = "123"
It updates variable for the current rails c session:
ENV['SCORE']
=> "123"
But has no effect on the variable that application is using.
Is there a way to permanently change environment variable at runtime?
ENVis no exception.