Flowdock
method

gemspec

Importance_1
v2_6_3 - Show latest stable - 0 notes - Class: GemDependencyAPI
gemspec(options = {}) public

:category: Gem Dependencies DSL

Loads dependencies from a gemspec file.

options include:

name:

The name portion of the gemspec file. Defaults to searching for any gemspec file in the current directory.

gemspec name: 'my_gem'

path:

The path the gemspec lives in. Defaults to the current directory:

gemspec 'my_gem', path: 'gemspecs', name: 'my_gem'

development_group:

The group to add development dependencies to. By default this is :development. Only one group may be specified.

Show source
Register or log in to add new notes.