Sha256: 8693d2071160b826fda520617f0118b2105114319af8d7a88cc053d7da149d34
Contents?: true
Size: 378 Bytes
Versions: 137
Compression:
Stored size: 378 Bytes
Contents
def sudo_gem(cmd) sh "#{SUDO} #{RUBY} -S gem #{cmd}", :verbose => false end desc "Install #{GEM_NAME} #{GEM_VERSION}" task :install => [ :package ] do sudo_gem "install --local pkg/#{GEM_NAME}-#{GEM_VERSION} --no-update-sources" end desc "Uninstall #{GEM_NAME} #{GEM_VERSION}" task :uninstall => [ :clobber ] do sudo_gem "uninstall #{GEM_NAME} -v#{GEM_VERSION} -Ix" end
Version data entries
137 entries across 116 versions & 34 rubygems