Sha256: efaceffe44070bd28e71c30f8cff110b7f304602bd21dc4c051a91e450555483
Contents?: true
Size: 645 Bytes
Versions: 2
Compression:
Stored size: 645 Bytes
Contents
module Divvy module Plugins module RubyGems def ruby_gem(gem_name, options = {}) options = { :no_doc => true, }.merge(options) cmd = "gem install #{gem_name}" cmd << " --version '#{options[:version]}'" if options[:version] cmd << " --source #{options[:source]}" if options[:source] cmd << " --install-dir #{options[:install_dir]}" if options[:install_dir] cmd << " --no-rdoc --no-ri" if options[:no_doc] cmd << " -- #{build_flags}" if options[:build_flags] run(cmd) end end end end Divvy.register_plugin(Divvy::Plugins::RubyGems)
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
michaeldwan-divvy-0.1.2 | lib/divvy/plugins/gem.rb |
michaeldwan-divvy-0.1.5 | lib/divvy/plugins/gem.rb |