Pastie now auto-senses if line-wrap is a bad or good idea. Feedback?
## mark a section (Learn more)
namespace :deploy do task :after_update_code, :roles => [:app, :db, :web] do symlink_sphinx_indexes end desc "create a symlink for the sphinx index files" task :symlink_sphinx_indexes, :roles => :app do run "ln -nfs #{shared_path}/sphinx #{release_path}/db/sphinx" # The add something to reindex or whatever # I prefer to have a cronjob going instead end end
This paste will be private.
From the Design Piracy series on my blog: