I have a codebase which has a gemspec file like:
require "rubygems"
::Gem::Specification.new do |specification|
specification.add_development_dependency "yard", "~> 0.9"
specification.add_runtime_dependency "dry-validation", "~> 0.13"
end
bundle install
will install both dependency types. So I want to just install the runtime dependencies for my CI scripts. I see bundle install --with <group>
exists, but I don't have groups. Run interactively, the returned specification has an empty result returned from .groups
. I would love to rationalize these two worlds. Must I explicitly add a group for each gem dependency? Does add_runtime_dependency and add_development_dependency even make a difference?