Re: [Rails] Re: Error in cap deploy command

2012-10-11 Thread Mandeep Kaur
Thanks to all for helping me. Problem Solved : ). -- 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 rubyonrails-talk@googlegroups.com. To unsubscribe

Re: [Rails] Re: Error in cap deploy command

2012-10-08 Thread Mandeep Kaur
On Mon, Oct 8, 2012 at 10:22 PM, Mandeep Kaur wrote: > On Mon, Oct 8, 2012 at 9:58 PM, Mandeep Kaur wrote: >> On Mon, Oct 8, 2012 at 9:51 PM, Ilia Bylich wrote: >>> This page means error in rails. Look at your log/production.log. >>> >> >> this file has following error; >> Mysql2::Error (Access

Re: [Rails] Re: Error in cap deploy command

2012-10-08 Thread Mandeep Kaur
On Mon, Oct 8, 2012 at 9:58 PM, Mandeep Kaur wrote: > On Mon, Oct 8, 2012 at 9:51 PM, Ilia Bylich wrote: >> This page means error in rails. Look at your log/production.log. >> > > this file has following error; > Mysql2::Error (Access denied for user 'root'@'localhost' (using password: > NO)): >

Re: [Rails] Re: Error in cap deploy command

2012-10-08 Thread Mandeep Kaur
On Mon, Oct 8, 2012 at 9:51 PM, Ilia Bylich wrote: > This page means error in rails. Look at your log/production.log. > this file has following error; Mysql2::Error (Access denied for user 'root'@'localhost' (using password: NO)): And when i run cap deploy:migrations the i got following error:

[Rails] Re: Error in cap deploy command

2012-10-08 Thread Ilia Bylich
This page means error in rails. Look at your log/production.log. понедельник, 8 октября 2012 г., 18:18:39 UTC+3 пользователь Mandy написал: > > Hello to all! > > I am getting following error while running cap deploy in terminal. > > $ cap deploy > * executing `deploy' > * executing `deploy

Re: [Rails] Re: Error in cap deploy command

2012-10-08 Thread Mandeep Kaur
On Mon, Oct 8, 2012 at 9:24 PM, Ilia Bylich 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

[Rails] Re: Error in cap deploy command

2012-10-08 Thread Ilia Bylich
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}) ];

Re: [Rails] Re: Error in cap deploy command

2012-10-08 Thread Mandeep Kaur
On Mon, Oct 8, 2012 at 8:58 PM, Ilia Bylich wrote: > Try this in your deploy.rb > > ssh_options[:forward_agent] = true > default_run_options[:pty] = true > Now it give result without error. Check its o/p below signature. But my application is not started. I got following error when I open domain

[Rails] Re: Error in cap deploy command

2012-10-08 Thread Ilia Bylich
Try this in your deploy.rb ssh_options[:forward_agent] = true default_run_options[:pty] = true понедельник, 8 октября 2012 г., 18:18:39 UTC+3 пользователь Mandy написал: > > Hello to all! > > I am getting following error while running cap deploy in terminal. > > $ cap deploy > * executing `d