simple automatic installation of RubyGems
Ruby
Switch branches/tags
Nothing to show
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
lib
README.markdown

README.markdown

GemCollector: simple installation and activation

RubyGems 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