Changeset 309
- Timestamp:
- 02/02/08 20:30:58 (8 months ago)
- Files:
-
- trunk/.gitignore (modified) (1 diff)
- trunk/plugin/acts_as_ferret/recipes/aaf_recipes.rb (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
trunk/.gitignore
r305 r309 1 1 *.swp 2 2 *.log 3 demo/log/* 3 4 demo/tmp/* 4 5 demo/index/* trunk/plugin/acts_as_ferret/recipes/aaf_recipes.rb
r302 r309 11 11 # deploy:{start|restart|stop} tasks so the server will be restarted along with 12 12 # the rest of your application. 13 # Also an index directory in the shared folder will be created and symlinked 14 # into current/ when you deploy. 13 15 # 14 16 # In order to use the ferret:rebuild task, declare the models you intend to … … 54 56 end 55 57 end 58 59 desc "symlinks index folder" 60 task :symlink_index, :roles => :app do 61 run "mkdir -p #{shared_path}/index && rm -f #{current_path}/index && ln -s #{shared_path}/index #{current_path}/index" 62 end 63 56 64 end 57 65 … … 59 67 after "deploy:start", "ferret:start" 60 68 after "deploy:restart", "ferret:restart" 69 after "deploy:symlink", "ferret:symlink_index" 70
