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

Version Path
snusnu-dm-accepts_nested_attributes-0.0.1 tasks/install.rb
snusnu-dm-accepts_nested_attributes-0.0.2 tasks/install.rb
snusnu-dm-accepts_nested_attributes-0.0.3 tasks/install.rb
snusnu-dm-accepts_nested_attributes-0.0.4 tasks/install.rb
snusnu-dm-accepts_nested_attributes-0.0.5 tasks/install.rb
snusnu-dm-accepts_nested_attributes-0.0.6 tasks/install.rb
snusnu-dm-accepts_nested_attributes-0.10.0 tasks/install.rb
snusnu-dm-accepts_nested_attributes-0.11.0 tasks/install.rb