You can clone with
Right now I've got code that finds files via:
`bundle show foo`.strip
I worry that it's going to fail when somebody is running on Windows in some other weird environment.
So I looked for RDOC on the function to call to get the same answer. I quickly discovered that bundler really doesn't have a documented ruby interface. I understand that the command line interface is primary, and that makes sense. Perhaps there should be a way of calling the command line interface from Ruby.
This may be irrelevant but RubyGems commands have the same issue. Only some of the commands have a direct translation to a module::class API.
Every Bundler command is a method on Bundler::CLI, fwiw.
Let's revisit this for v2.