Sha256: 701db0f843738bcb61bf8b0015bd08a4ea7f81cee19cdb962f94197f629255da

Contents?: true

Size: 440 Bytes

Versions: 1

Compression:

Stored size: 440 Bytes

Contents

#
# installs rip like so:
#   ruby setup.rb
#
# also uninstalls rip like so:
#   ruby setup.rb uninstall
#
# probably requires sudo.
#

__DIR__ = File.expand_path(File.dirname(__FILE__))
$LOAD_PATH.unshift File.join(__DIR__, 'lib')

require 'rip'

include Rip::Setup

if ARGV.include? 'uninstall'
  uninstall :verbose
elsif ARGV.include? 'reinstall'
  uninstall
  install
elsif installed?
  puts "rip: already installed"
else
  install
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
rip-0.0.1 setup.rb