On Mon, Oct 8, 2012 at 9:24 PM, Ilia Bylich <[email protected]> wrote:
> As you can see, your task `deploy:restart` is empty. You should restart your
> web server (like unicorn or passenger) in this task. You can define it like
> this
>
> namespace :deploy do
>   desc "Restart Unicorn"
>   task :restart do
>     run "if [ -f #{unicorn_pid} ] && [ -e /proc/$(cat #{unicorn_pid}) ];
> then kill -USR2 `cat #{unicorn_pid}`; else cd #{release_path} && bundle exec
> unicorn_rails -c #{unicorn_conf} -E #{rails_env} -D; fi"
>   end
> end

I have used passenger and write namespace for that but still having
same result in browser.
"We're sorry, but something went wrong."


-- 
Mandeep Kaur
http://mandeepsimak.wordpress.com/

-- 
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Talk" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to