ruby_dep icon indicating copy to clipboard operation
ruby_dep copied to clipboard

Builds failing on TravisCI

Open gchan opened this issue 9 years ago • 1 comments

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.

gchan avatar Sep 23 '16 11:09 gchan

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...

e2 avatar Sep 29 '16 23:09 e2