Thursday, February 26, 2015

How to turn off Spring

Spring is a big headache in development environment. Creates weird issues like not being able to play in rails console and is a big waste of time. To turn off spring, in the terminal, run:

export DISABLE_SPRING=1
 
You will now be able to go to rails console.  You may also have to kill any stray rails
console processes that may be running but never succeeded.

To remove it :
  • 'Unspring' your bin/ executables: bin/spring binstub --remove --all
  • Remove spring from your Gemfile