Jaryl,
 That line in your config, should be two lines... export and source are two
different commands.

- Lee

2009/2/21 Jaryl Sim <[email protected]>

>
> I fixed it by adding:
>
> default_run_options[:pty] = true
>
> What a weird error to have but anyway, thanks Jamis!
>
> On Feb 21, 3:02 pm, Jaryl Sim <[email protected]> wrote:
> > This is the first (and only) line from ruby.sh
> >
> > export PATH=/usr/local/bin:$PATH source /etc/profile
> >
> > I am not too familiar with Linux, but I don't see anything wrong with
> > this.
> >
> > Capistrano works on another Linux box I have access to, which is
> > running ruby 1.8.6, while my CentOS box is running 1.8.5. Could that
> > be the source of the problem?
> >
> > On Feb 21, 2:35 pm, Jamis Buck <[email protected]> wrote:
> >
> > > Sounds like there's a syntax error one line one of
> /etc/profile.d/ruby.sh?
> >
> > > - Jamis
> >
> > > On 2/20/09 11:29 PM, Jaryl Sim wrote:
> >
> > > > I forgot to mention that I am deploying from a Vista machine to a
> > > > CentOS box.
> >
> > > > On Feb 21, 2:18 pm, Jaryl Sim <[email protected]> wrote:
> > > >> Hi, I've never gotten such an error before, but I could not find any
> > > >> information regarding this.
> >
> > > >> /etc/profile.d/ruby.sh: line 1: export: `/etc/profile': not a valid
> > > >> identifier
> >
> > > >> I get this when I try to deploy or even deploy:check.
> >
> > > >> I am using 2.5.4.
> >
>

--~--~---------~--~----~------------~-------~--~----~
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at http://groups.google.com/group/capistrano
-~----------~----~----~----~------~----~------~--~---

Reply via email to