Sha256: c39a557121331ac2b0a30dc30b1b7bc3194cb6b23f911d0643a25091d732e8a8

Contents?: true

Size: 418 Bytes

Versions: 2

Compression:

Stored size: 418 Bytes

Contents

def sudo_gem(cmd)
  sh "#{SUDO} #{RUBY} -S gem #{cmd}", :verbose => false
end

desc "Install #{GEM_SPEC.name} #{GEM_SPEC.version}"
task :install => [ :package ] do
  sudo_gem "install --local pkg/#{GEM_SPEC.name}-#{GEM_SPEC.version} --no-update-sources"
end

desc "Uninstall #{GEM_SPEC.name} #{GEM_SPEC.version}"
task :uninstall => [ :clean ] do
  sudo_gem "uninstall #{GEM_SPEC.name} -v#{GEM_SPEC.version} -I -x"
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
data_objects-0.10.0 tasks/install.rake
data_objects-0.9.12 tasks/install.rake