I suppose you do it in your Capfile, as early as possible.
- Lee

2009/3/18 zan99 <hzan...@gmail.com>

>
> Lee, thanks for that idea.  Any suggestion on where/how to set this,
> so that it is recognized when I run cap deploy?
>
> On Mar 18, 3:20 am, Lee Hambley <lee.hamb...@gmail.com> wrote:
> > Zan,
> >  You may be able to trick it (perhaps at the consequence of more things
> > breaking on Windows by setting the directory seperator to be a
> > forward-slash, unix style, you can set that (according to this
> pagehttp://www.ruby-doc.org/core/classes/File.html) using File::SEPARATOR
> =
> > '/'.
> >
> > - Lee
> >
> > 2009/3/18 Lee Hambley <lee.hamb...@gmail.com>
> >
> > > Zan99,
> > >  Are you using File.join() in your code anywhere ?
> >
> > > - Lee
> >
> > > 2009/3/18 zan99 <hzan...@gmail.com>
> >
> > >> Hi, I'm trying to do a cap deploy from my Windows machine via a remote
> > >> GitHub repository.  However, it is failing because deploy:update_code
> > >> is converting the forward slash in my repository url to a backslash,
> > >> causing the repository url to be invalid.  See below:
> >
> > >>    executing locally: git clone -q --depth 1
> > >> g...@github.com:zan99\test.git C:\Users\HRZ\AppD
> > >> ata\Local\Temp\20090318043352 && cd /D C:\Users\HRZ\AppData\Local\Temp
> > >> \20090318043352 && git checkout -q -b deploy
> > >> 3c20b5269c03efc380e0c627759914713c844c65
> > >> Invalid repository url. Make sure you include the .git, e.g.
> > >> g...@github.com:defunkt/ambition.git
> >
> > >> In deploy.rb, the repository url includes a forward slash, so the
> > >> backslash seems to be as a result of some sort of windows path filter
> > >> in the cap script.
> >
> > >> Any suggestions on how to get around this?
> >
>

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

Reply via email to