To edit pages or tickets please login with username/password: aaf/aaf

root/trunk/plugin/acts_as_ferret/install.rb

Revision 261, 489 bytes (checked in by jk, 10 months ago)

fix install.rb for new start script

Line 
1 # acts_as_ferret install script
2 require 'fileutils'
3
4 def install(file)
5   puts "Installing: #{file}"
6   target = File.join(File.dirname(__FILE__), '..', '..', '..', file)
7   if File.exists?(target)
8     puts "target #{target} already exists, skipping"
9   else
10     FileUtils.cp File.join(File.dirname(__FILE__), file), target
11   end
12 end
13
14 install File.join( 'script', 'ferret_server' )
15 install File.join( 'config', 'ferret_server.yml' )
16
17 puts IO.read(File.join(File.dirname(__FILE__), 'README'))
18
Note: See TracBrowser for help on using the browser.

To edit pages or tickets please login with username/password: aaf/aaf