method

add_development_dependency

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