Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/mdub/gem_collector

simple automatic installation of RubyGems
https://github.com/mdub/gem_collector

Last synced: about 2 months ago
JSON representation

simple automatic installation of RubyGems

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