Sha256: 9bf8bc9b9da32e41f6da6a014affdf5a2d51e53789874662db2c34d977b17600
Contents?: true
Size: 639 Bytes
Versions: 3
Compression:
Stored size: 639 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 register_plugin(Divvy::Plugins::RubyGems)
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
mdwan-divvy-0.1.0 | lib/divvy/plugins/gem.rb |
mdwan-divvy-0.1.1 | lib/divvy/plugins/gem.rb |
mdwan-divvy-0.1.2 | lib/divvy/plugins/gem.rb |