only require generators if using rails