[Capistrano] Capistrano 2.x best practices for namespaces

2008-10-26 Thread Bharat
Hello, I am migrating a Capistrano 1.4.1 application to 2.5.0. Towards that, I want to follow the best practices for Capistrano 2 deployment. I have the following callback tasks in my Capistrano 1.4.1 deploy.rb amongst others: desc Execute something with sudo so that it doesn't get stuck

[Capistrano] Re: Capistrano 2.x best practices for namespaces

2008-10-26 Thread Lee Hambley
Hey Bharat, With regard to your question about whether or not namespaces are required.. they aren't ... they do make keeping your code organiesd a lot easier though. The magic tasks that constitute callbacks in 1.4.x are deprecated, and have been replaced by the

[Capistrano] Re: Capistrano 2.x best practices for namespaces

2008-10-26 Thread Bharat
Thanks again, Lee. Is there a way I can generate the nice docs locally on my machine that I see you the link that you have kindly provided on your server? I have Capistrano installed as a gem. Regards, Bharat On 26 Oct, 12:12, Lee Hambley [EMAIL PROTECTED] wrote: Hey Bharat, With regard

[Capistrano] Re: Capistrano 2.x best practices for namespaces

2008-10-26 Thread Lee Hambley
Bharat In your terminal run the following: # gem server read the output, it should be a webriskish server that shows all your installed Gems' documentation, they're also in your Gems directory, see the paths here for more

[Capistrano] Re: Capistrano 2.x best practices for namespaces

2008-10-26 Thread Bharat
Did not know this. Thanks. Bharat --~--~-~--~~~---~--~~ To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/capistrano -~--~~~~--~~--~--~---

[Capistrano] can't login apparently...

2008-10-26 Thread David Beckwith
Hi, I can't seem to login. I tried deleted the fuseme.com row from ~/.ssh/known_hosts (and then logged in to confirm the new footprint), but that didn't seem to do the trick. Is there another cache of known_hosts stored somewhere for Net::SSH ? Or am I missing the point. Thanks for your

[Capistrano] Re: can't login apparently...

2008-10-26 Thread David Masover
Are you sure it's not also caching that key with the IP, not just the hostname? Or vice versa? What happens if you remove known_hosts entirely? (Back it up first...) On Sun, Oct 26, 2008 at 1:55 PM, David Beckwith [EMAIL PROTECTED]wrote: Hi, I can't seem to login. I tried deleted the

[Capistrano] Re: can't login apparently...

2008-10-26 Thread Lee Hambley
Dave, I would have expected that would do it, can you log into the server via SSH normally.. or are you using the :gateway option? -- Lee 2008/10/26 David Beckwith [EMAIL PROTECTED] Hi, I can't seem to login. I tried deleted the fuseme.com row from ~/.ssh/known_hosts (and then logged in

[Capistrano] Unexplained error on deployment

2008-10-26 Thread chris
I am not sure why the deployment script is suddenly failing. Here is what I get when I try to run the cap deploy cmd: == $ cap deploy /Library/Ruby/Gems/1.8/gems/capistrano-2.5.0/lib/capistrano/ configuration/variables.rb:122:in `method_missing': undefined local variable or method

[Capistrano] Re: Unexplained error on deployment

2008-10-26 Thread Jamis Buck
Looks like you're referencing a variable 'leaguesmart' without first declaring it? Just a guess, without having seen your deployment recipes. - Jamis On Oct 26, 2008, at 10:33 PM, chris wrote: I am not sure why the deployment script is suddenly failing. Here is what I get when I try to