Sha256: 0af6ab3a9668b753c7588fab782a99cac8fd45f78f6a31862998f08e232b2e44

Contents?: true

Size: 533 Bytes

Versions: 2

Compression:

Stored size: 533 Bytes

Contents

# acts_as_ferret install script
require 'fileutils'

def install(file)
  puts "Installing: #{file}"
  target = File.join(File.dirname(__FILE__), '..', '..', '..', file)
  if File.exists?(target)
    puts "target #{target} already exists, skipping"
  else
    FileUtils.cp File.join(File.dirname(__FILE__), file), target
  end
end

install File.join( 'script', 'ferret_start' )
install File.join( 'script', 'ferret_stop' )
install File.join( 'config', 'ferret_server.yml' )

puts IO.read(File.join(File.dirname(__FILE__), 'README'))

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
acts_as_ferret-0.4.0 install.rb
acts_as_ferret-0.4.1 install.rb