gem.rb

Path: lib/automateit/package_manager/gem.rb
Last Update: Thu Jan 17 02:08:09 -0800 2008

PackageManager::Gem

The Gem driver for the PackageManager provides a way to manage software packages for RubyGems using the gem command.

Specifying version of gem to use

You can specify the command to use with each call using the gem option, e.g., the "gem1.8" below:

  package_manager.install 'rails', :with => :gem, :gem => "gem1.8"

Or set a default and all subsequent calls will use it:

  package_manager[:gem].setup(:gem => "gem1.8")
  package_manager.install 'rails', :with => :gem

[Validate]