I have a project that I'm working on that uses a gem we've created internally. It's not hosted on rubygems.org or github. But we do have it in our repository and in a path on our local machine.
In our Gemfile, we have something similar to this:
gem "our-custom-gem", :path => "/path-to/our-custom-gem"
We're trying to package all our gems so we can use the warbler gem to create a .war file in order to deploy using jRuby.
We'd like to be able to run something like "bundle install" or "bundle install --local" to make sure all the gems are installed. Then have bundler take all the dependencies specified in our Gemfile put them in vendor/bundle using the "bundle package" command.
But based on this link (http://gembundler.com/man/bundle-package.1.html), it looks like bundler cannot package gems specified using :path or :git as the source.
Has anyone found a way around this?
How do you "bundle package" gems that are local and that are not part of a git repo or available on rubygems.org?
Thanks.