[Capistrano] Re: deploy:update_code on windows converting forward slash to backslash in git repository url

2009-03-18 Thread Lee Hambley
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

[Capistrano] Re: deploy:update_code on windows converting forward slash to backslash in git repository url

2009-03-18 Thread Lee Hambley
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 page http://www.ruby-doc.org/core/classes/File.html ) using File::SEPARATOR = '/'. - Lee

[Capistrano] Re: deploy:update_code on windows converting forward slash to backslash in git repository url

2009-03-18 Thread zan99
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

[Capistrano] Re: deploy:update_code on windows converting forward slash to backslash in git repository url

2009-03-18 Thread Lee Hambley
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