module RubyInstaller::Build::Gems

Public Class Methods

install(*gems, **options) click to toggle source
# File lib/ruby_installer/build/gems.rb, line 63
def self.install(*gems, **options)
  gems.each do |name|
    spec = InstallSpec.new(name)
    options.each do |key, value|
      spec.send("#{key}=", value)
    end
    spec.install
  end
end