Interesting that you should say that..
You may be suffering this:

*No default PTY.* Prior to 2.1, Capistrano would request a pseudo-tty for
each command that it executed. This had the side-effect of causing the
profile scripts for the user to *not* be loaded. Well, no more! As of 2.1,
Capistrano no longer requests a pty on each command, which means your
.profile (or .bashrc, or whatever) will be properly loaded on each command!
Note, however, that some have reported on some systems, when a pty is not
allocated, some commands will go into non-interactive mode automatically. If
you’re not seeing commands prompt like they used to, like svn or passwd, you
can return to the previous behavior by adding the following line to your
capfile:

default_run_options[:pty] = true


>From Jamis' blog a while back, read this:
http://weblog.jamisbuck.org/2007/10/14/capistrano-2-1

Let me know if that fits the symptoms!

- Lee
2009/6/28 Aníbal Rojas <[email protected]>

>
> Lee,
>
>    I haven't specified a :deploy_user. This is a single server server
> setup where everything is accessible from one user account.
>
>    Thinking about it there is something ... particular .. regarding
> this setup, and this is that the Bazaar was installed in the user home
> and are PATHS were modified in the .bash_profile or .bash_rc  I am not
> sure which one, and I won't have access to the server until tuesday.
>
>    I think it is possible that the bzr command is not being found,
> but why aren't they any errors?
>
>    Thanks a lot for your responses,
>
> --
> Aníbal
>
> On 27 June, 16:24, Lee Hambley <[email protected]> wrote:
> > Aníbal,
> > Are you running the command as yourself, or as the :deploy_user, if you
> have
> > it configured to use a specific username for your connection?
> >
> > - Lee
> >
> > 2009/6/26 Aníbal Rojas <[email protected]>
> >
> >
> >
> > > Lee,
> >
> > >   Yes, I am sure it is not a s deploy.rb misconfiguration thing.
> > > Copying and pasting the command from the capistrano output to a SSH
> > > session produces the expected behaviour of filling the the release/
> > > TIMESTAMP folder with data
> >
> > >   Thanks
> >
> > > --
> > > Aníbal
> >
> > > On Jun 27, 1:25 pm, Lee Hambley <[email protected]> wrote:
> > > > Aníbal,
> > > > Are you sure you're checking in the right place, the :deploy_to path
> on
> > > the
> > > > server.. don't doubt you are, but cover all the bases first, right!
> >
> > > > I've no experience with Bazaar, but I'll do my best!
> >
> > > > HTH
> > > > \- Lee Hambley
> >
> > > > 2009/6/26 Aníbal Rojas <[email protected]>
> >
> > > > > Hello,
> >
> > > > >    I have a weird problem, not sure if related with Capistrano,
> > > > > Bazaar, or the Ghost in the Machine.
> >
> > > > >    The command generated by capistrano to update code passes
> without
> > > > > any error , but nothing is checked out:
> >
> > > > >  * executing "bzr checkout --lightweight file:///home/foo/bar ...
> >
> > > > >    If I copy and paste this generated command in a ssh session in
> the
> > > > > same server it works without problem.
> >
> > > > >    It is not a permission issue, there is no error at this point.
> > > > > Any suggestion?
> >
> > > > > --
> > > > > Aníbal
> >
>

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Capistrano" 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 this group at 
http://groups.google.co.uk/group/capistrano?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to