5
votes

How do you guys add multiple development/runtime dependencies to your gemspec?

This is the way I do it:

spec.add_development_dependency 'example1', '~> 1.1', '>= 1.1.4'
spec.add_development_dependency 'example2', '~> 1.1', '>= 1.1.4'

But I'd like to know if there are other ways to do it?

Thanks in advance!

1
Looking at the Gem specification from here that seems to be the only wayHoney

1 Answers

0
votes

Looking at the Gem specification from here the choices are:

add_dependency, add_runtime_dependency, add_development_dependency, add_dependency_with_type