Skip to content

Instantly share code, notes, and snippets.

@vito
Created January 4, 2012 22:00
Show Gist options
  • Save vito/1562414 to your computer and use it in GitHub Desktop.
Save vito/1562414 to your computer and use it in GitHub Desktop.
$ ri add_runtime_dependency
Nothing known about .add_runtime_dependency
$ rbenv shell 1.9.2-p290
$ ri add_runtime_dependency
.add_runtime_dependency
(from gem rubygems-1.8.10)
Implementation from Gem::Specification
------------------------------------------------------------------------------
add_runtime_dependency(gem, *requirements)
------------------------------------------------------------------------------
Adds a runtime dependency named gem with requirements to this
Gem. For example:
spec.add_runtime_dependency 'example', '~> 1.1', '>= 1.1.4'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment