method

add_development_dependency

Importance_1
Ruby latest stable (v2_5_5) - 0 notes - Class: Specification
add_development_dependency(gem, *requirements) public

Adds a development dependency named gem with requirements to this gem.

Usage:

spec.add_development_dependency 'example', '~> 1.1', '>= 1.1.4'

Development dependencies aren’t installed by default and aren’t activated when a gem is required.

Show source
Register or log in to add new notes.