Thanks for that Jamis, works much better.

Josh

On Jul 28, 11:15 pm, "Jamis Buck" <[EMAIL PROTECTED]> wrote:
> Josh,
>
> Sorry about that. The example in that document was incorrect. I've
> updated it, so it should now look like this:
>
>   task :restart_web_server, :roles => :web do
>     # restart your web server here
>   end
>
>   after "deploy:start", :restart_web_server
>
> Hope that works a little better.
>
> - Jamis
>
> On 7/28/07, platform8 <[EMAIL PROTECTED]> wrote:
>
>
>
> > Hi,
>
> > I'm getting an undefined method 'task' in my deploy.rb following the
> >http://capify.org/getting-started/railsinstructions. It has to do
> > with the suggested "Server-managed FastCGI" section..
>
> > deploy.app.task :after_start do
> >   restart_web_server
> > end
>
> > The error line is:
> > ./config/deploy.rb:24:in `load': undefined method `task' for
> > "projectname":String (NoMethodError)
>
> > Any ideas?
>
> > Cheers
> > Josh


--~--~---------~--~----~------------~-------~--~----~
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at http://groups.google.com/group/capistrano
-~----------~----~----~----~------~----~------~--~---

Reply via email to