1 # acts_as_ferret install script
5 puts "Installing: #{file}"
6 target = File.join(File.dirname(__FILE__), '..', '..', '..', file)
7 if File.exists?(target)
8 puts "target #{target} already exists, skipping"
10 FileUtils.cp File.join(File.dirname(__FILE__), file), target
14 install File.join( 'script', 'ferret_start' )
15 install File.join( 'script', 'ferret_stop' )
16 install File.join( 'config', 'ferret_server.yml' )
18 puts IO.read(File.join(File.dirname(__FILE__), 'README'))