Remove rails warning
Disconnect repos on to_prepare