I'm developing plugins for Sketchup, which runs its own embedded ruby interpreter (2.0.0). This makes using gems a bit more complicated, especially those who need DevKit, which doesn't exist.
I've got around those issues with either using downloadable pre-compiled gems (Nogokiri for example) and using them specifically to install or using pure-ruby versions of a gem (like json/ruby) and download it on the fly if necessary.
However, after being introduced to the JS world and it's excellent module bundler webpack, I've started to miss its powerful features in the ruby world, especially in my situation. Having such a bundler to detect, pack and inline the ruby gems I need would be an excellent option to stop worrying if the gem downloaded correctly (what if the user is offline?), would remove the install-time during the first use, and make me much more comfortable with using a external library in the first place.
After a look at Bundler, it seems more like a solution to manage dependencies on my (or other developers) machine and not for the use case I described.
Does something like this exist? If not, is it even possible?