Disable Spring in Rails with `DISABLE_SPRING`
This is fairly self explanatory. If you don't want spring running, because maybe you forget it's on and then you're confused when you're making changes to configuration and you don't see those changes manifest, then you can disable spring with:
DISABLE_SPRING=true
But be careful about where you put this. If you are using dotenv
and you place it in your .env
file it will not take effect. dotenv
sets its environment after spring has started.
This is something that you should put in bashrc
or zshrc
.
export DISABLE_SPRING=true
Tweet