rails g hangs

If “rails g” just hangs a simple

spring stop

could be the solution.