If a gem gets pulled from rubygems.org, but you still have it locally (or can get hold of it somehow), you can move the gem into your vendor/gems
directory.
Unpack the gem into vendor/gems
gem unpack <gem-name> --target vendor/gems
Edit the Gemfile
to match