ruby_dep
ruby_dep copied to clipboard
Builds failing on TravisCI
My Ruby gem supports older versions of Ruby. I followed the instructions as per https://github.com/e2/ruby_dep#eg-in-your-gemspec-file by inserting that snippet into my gemspec file.
But I'm encountering build failures in TravisCI with the following error: Install 'ruby_dep' gem before building this gem.
See https://travis-ci.org/gchan/wits/jobs/162160040#L175 for reference
Any guidance would be appreciated.
Yes, it's a chicken-and-egg problem.
You need ruby_dep already installed if you're using it in your gemspec file.
You'll probably need to add it as a Travis pre-build step, e.g.:
install:
- gem install ruby_dep
I'll have to figure it out and update the README...