Pass in `--local` when doing `gem install` for local gems.
Merge pull request #8714 from utkarshkukreti/faster-gem-install

Pass in `--local` when doing `gem install` for local gems. [ci skip]