New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
deploy:update_code fails on windows #509
Comments
Unfortunately, there's really not much we can do about this. If you've hit the deployment stage, that's all Capistrano at that point. I think I was deploying with zip and had success. git should work fine as well. |
Oh okay, sorry wasn't aware... Will followup with them... Thx for your time!
|
@fastsyrup It gets a bit worse than that I'm afraid :-( Rubber still targets Capistrano 2. While immensely popular, that version isn't actively maintained any longer. The Capistrano team has devoted its efforts to Capistrano 3. I suspect that issue you've encountered is a problem in Capistrano 3 as well, but we can't easily backport any fix. Your better bet would probably be to change up the deploy strategy in your deploy.rb depending on the OS. |
Use BSDTAR I believe this is proper site http://gnuwin32.sourceforge.net/packages/libarchive.htm it worked just fine for me and even supports the -z option which windows doesn't by default. |
Hi,
Deploying rails 4.1 app onto AWS. Get the following error when running cap:deploy or cap:bootstrap
...
servers: ["staging.kalenderfee.com"]
[staging.kalenderfee.com] executing command
command finished in 227ms
servers: ["staging.kalenderfee.com"]
[staging.kalenderfee.com] executing command
command finished in 224ms
** updating code for bootstrap
executing locally: xcopy . "C:/Users/solanmi/AppData/Local/Temp/20140817191429" /S/I/Y/Q/E
975 File(s) copied
command finished in 11306ms
executing locally: tar czf 20140817191429.tar.gz 20140817191429
command finished in 34ms
shell command failed with return code pid 10672 exit 53
I have tar in my path:
C:\Users\solanmi\Google Drive\kalenderfee\webapp>tar
tar: Must specify one of -c, -r, -t, -u, -x
When I go check the temp folder then there is no folder "20140817191429" although the xcopy seem s to report that it copied 975 files (which would be correct)...
The text was updated successfully, but these errors were encountered: