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_server' )
15 install File.join( 'config', 'ferret_server.yml' )
17 puts IO.read(File.join(File.dirname(__FILE__), 'README'))