Sha256: 80d15805c7df78849054b93c9f33da3d7a11541f95d3ed520240302376d247a4
Contents?: true
Size: 492 Bytes
Versions: 3
Compression:
Stored size: 492 Bytes
Contents
module Gem # Activate the gems specfied by the gem_pairs list. # # gem_pairs :: # List of gem/version pairs. # Eg. [['rake', '= 0.8.15'], ['RedCloth', '~> 3.0']] # options :: # options[:verbose] => print gems as they are required. # def self.configure(gem_pairs, options={}) gem_pairs.each do |name, version| require 'rubygems' puts "Requiring gem #{name} (version #{version})" if options[:verbose] require_gem name, version end end end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
rubygems-update-0.8.10 | lib/gemconfigure.rb |
rubygems-update-0.8.11 | lib/gemconfigure.rb |
rubygems-update-0.8.8 | lib/gemconfigure.rb |