Install ruby gem files
Install the gems on the destination machine from the local files:
cd /path/to/gems
gem install --force --local *.gem
Install the gems on the destination machine from the local files:
cd /path/to/gems
gem install --force --local *.gem