Displaying 1 result from an estimated 1 matches for "restart_server".
2006 Mar 22
1
Capistrano - run command
Man, I can''t wait to get my hands on the capistrano book when it
comes out :-).
I have the following task in capistrano.rake (any task in deploy.rb
just does not want to be called)
=========
desc "Restarts the lighttpd server"
task :restart_server do
run "/users/home/jkopanas/bin/lighttpdctrl restart"
end
=========
When I run rake restart_server I get the following errror:
=========
undefined method `run'' for #<Object:0x1de968>
=========
According to documentation and examples I should be able to use run
with...