https://github.com/mdub/gem_collector
simple automatic installation of RubyGems
https://github.com/mdub/gem_collector
Last synced: 4 months ago
JSON representation
simple automatic installation of RubyGems
- Host: GitHub
- URL: https://github.com/mdub/gem_collector
- Owner: mdub
- Created: 2009-04-17T00:36:33.000Z (about 16 years ago)
- Default Branch: master
- Last Pushed: 2009-05-02T11:58:52.000Z (about 16 years ago)
- Last Synced: 2025-01-03T13:17:22.876Z (5 months ago)
- Language: Ruby
- Homepage:
- Size: 74.2 KB
- Stars: 4
- Watchers: 4
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.markdown
Awesome Lists containing this project
README
# GemCollector: simple installation and activation
[RubyGems](http://rubygems.org/) provides a nice DSL for declaring dependencies on gems, e.g.
gem "rspec", "1.1.12"
gem "rcov", ">= 0.8.1"
gem "capistrano"GemCollector leverages this existing DSL for installation of gems.
## Using it
Assuming you have all your "gem" commands in a file, running
require 'gem_collector'
GemCollector.load("file_containing_gem_requirements.rb")will install any missing gems.
## Disclaimer
GemCollector does not:
* feed starving orphans
* do laundry