Extracted install_gems from InstallCommand#execute
Extracted load_hooks from InstallCommand