Generating mongoid config in rails hangs

Jan 11 2018

If setting up a new Rails project with Mongoid and trying to run rails g mongoid:config hangs, try

spring stop
spring start