Sha256: 4e0f525342a52eead2829ad7e2aa0091a0baa5e32fda921bd65a1c5ad17dc378
Contents?: true
Size: 395 Bytes
Versions: 8
Compression:
Stored size: 395 Bytes
Contents
def sudo_gem(cmd) sh "#{SUDO} #{RUBY} -S gem #{cmd}", :verbose => false end if WINDOWS desc "Install #{GEM_NAME}" task :install => :gem do sudo_gem "install --no-rdoc --no-ri --local pkg/#{GEM_NAME}-#{GEM_VERSION}.gem" end else desc "Install #{GEM_NAME}" task :install => :package do sudo_gem "install --no-rdoc --no-ri --local pkg/#{GEM_NAME}-#{GEM_VERSION}.gem" end end
Version data entries
8 entries across 8 versions & 1 rubygems