> > I have looked at upload! and other functions but can't seem to get it > working. Also attempted to try rsync but that is not fun on windows. >
We use SCP, not SFTP, there are subtle, but important differences, check with your hosting provider. What im trying to solve is every time i deploy with capistrano (cap > production deploy). I want rake assets:precompile to run, and then push up > those assets to amazon s3. This is not an issue and is currently working > fine. However also to ensure the rails application server is able to make > sense of the digests to use when rendering assets i need to copy the e.g. > \public\assets\manifest-8b74009c0e14289ecc5d15a5f7de36a3.json file over to > each servers \public\assets folder. > > Which just got me thinking right now, why don't i just run the rake > assets:precompile RAILS_ENV=production locally and then just commit the > generated manifest file > \public\assets\manifest-8b74009c0e14289ecc5d15a5f7de36a3.json to git, and > perform a deploy after that point. > > Hope you can provide some alternatives on how you would solve this problem? > -- You received this message because you are subscribed to the Google Groups "Capistrano" group. To unsubscribe from this group and stop receiving emails from it, send an email to capistrano+unsubscr...@googlegroups.com. To view this discussion on the web, visit https://groups.google.com/d/msgid/capistrano/CAN_%2BVLVOxJ_JQYgE8rJ-b6m5Cv%3D_0w5ARZMj212KMgwtMg%3Drxw%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.