As stated in the gem specification, the list of gems that you provide through add_dependency
will be used to make sure those are already installed in the system during the installation process (i.e gem install
), hence a git
option wouldn't make sense since this doesn't trigger any additional installation of any dependencies (like Bundler
does).
In summary: it's not possible to do what you're trying to do within a .gemspec