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

2009/3/18 Lee Hambley <[email protected]>

> Zan99,
>  Are you using File.join() in your code anywhere ?
>
> - Lee
>
> 2009/3/18 zan99 <[email protected]>
>
>
>> 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
>> [email protected]: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.
>> [email protected]: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 
[email protected]
For more options, visit this group at http://groups.google.com/group/capistrano
-~----------~----~----~----~------~----~------~--~---

Reply via email to