Yes, but which one, and which version? This is especially painful with Python ;)
If you install just one gem, bundler, you can get dependency management in a one-file script. Checkout Bundler Inline:
https://github.com/bundler/bundler/blob/master/lib/bundler/i...