migrate and don't load unnecessary gems