List Info

Thread: Re: capistrano and ferret




Re: capistrano and ferret
country flaguser name
Germany
2007-12-19 17:16:44
> namespace :deploy do
>   task :before_symlink do
>     run "ln -fs #/index
#/index"
>   end
> end
> 
> (I know, this the old callbacks syntax with Cap 2, I
was experencing
> problems with the new syntax and haven't retried since
then. I'll have
> to.)

Here is how to do that with the new style of callbacks in
Cap 2

task :symlink_index do
  run "ln -fs #/index
#/index"
end

before 'deploy:symlink', :symlink_index
-- 
Posted via http://www.ruby-forum.com
/.

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the
Google Groups "Deploying Rails" group.
To post to this group, send email to
rubyonrails-deploymentgooglegroups.com
To unsubscribe from this group, send email to
rubyonrails-deployment-unsubscribegooglegroups.com
For more options, visit this group at http://groups.google.com/group/rubyonrails-deployment
?hl=en
-~----------~----~----~----~------~----~------~--~---


[1]

about | contact  Other archives ( Real Estate discussion Medical topics )