I've been creating a rubygem ( lets call it 'abc' ) that relies on other gems.
As my development progressed I discovered I needed to make changes to the gems I depended on. So I forked them on github and added them to my Gemfile.
source 'https://rubygems.org'
gem 'xxx', '~> 0.0.6', :git => 'https://github.com/poulh/xxx.git'
gem 'yyy', '~> 0.8.2', :git => 'https://github.com/poulh/yyy.git'
gem 'zzz', '~> 0.0.14', :git => 'https://github.com/poulh/zzz.git'
I then used bundle install and added this line to lib/abc.rb in my gem's directory
require 'bundler/setup'
require 'xxx'
require 'yyy'
require 'zzz'
This worked and I could continue my development.
Now my gem is complete and I want to publish it to rubygems.org.
However I need the custom changes I made to the above gems, and I cannot get a response from the owner's when I did a pull-request to merge in my changes.
Ideally users of my gem can just run
gem install abc
and they'll be on their way, but when I test this the gem won't work without also
- cloning abc's repo
- running bundle install
can these extra steps be avoided?