Very thanks ! I'll try. I'm another 'issue', the last I hope ... With capistrano 2.15, assets in folder shared/assets include the original file. Like application.css and application_hash.css. Now cap 3 add only application_hash.js. And for some reason, we have hard coded path in css like assets/application.css. So this doesn't work anymore.
BTW for the `:all` error. This line come from migration guide http://www.capistranorb.com/documentation/upgrading/ (at bottom). Maybe open an issue to fixe it Le mardi 22 octobre 2013 08:53:42 UTC+2, Lee Hambley a écrit : > > Command: [ -L /home/site/site.com/releases/xxxxxxx/public/assets] >> Finished in 0.081 scondes with exit status 1 (failed) >> Command: [ -d /home/site/site.com/releases/xxxxxxx/public/assets] >> Finished in 0.081 scondes with exit status 1 (failed) > > > The test command (man (1) test) is aliased as `[` in most systems, that's > what you see when you see shell scripting with lined like `if [ -e > somefile]` (testing if some file exists, for example) > > That's exactly what we're doing in Capistrano, and that `(failed)` > indicates that the directory, and symlink does not exist (i.e that it's not > a directory, or not a symlink.) > > We have >> WARN [SKIPPING] No matching Host for /usr/bin/env rake db:migrate >> WARN [SKIPPING] No matching Host for /usr/bin/env bundle exec whenever ... > > > Your config line: > > > 1. role :all, %w{myserver.net} > > > Is the problem, as `:all` is a meta role, the forthcoming (sometime, > soonish) 3.1 will raise a warning when you try and do this, in the meantime > you could take the HEAD directly from Github. (See accepted pull request > https://github.com/capistrano/capistrano/pull/711 ) > > Lee Hambley > -- > http://lee.hambley.name/ > +49 (0) 170 298 5667 > > > On 22 October 2013 08:47, <[email protected] <javascript:>> wrote: > >> Hi, >> >> I try to migrate to capistrano 3 (With rails 4) >> >> During deploy, I've some errors in deploy log. >> >> First : >> >> Command: [ -L /home/site/site.com/releases/xxxxxxx/public/assets] >> Finished in 0.081 scondes with exit status 1 (failed) >> Command: [ -d /home/site/site.com/releases/xxxxxxx/public/assets] >> Finished in 0.081 scondes with exit status 1 (failed) >> >> It's look like it put only argument, not command ? >> >> Second : >> >> We have >> WARN [SKIPPING] No matching Host for /usr/bin/env rake db:migrate >> WARN [SKIPPING] No matching Host for /usr/bin/env bundle exec whenever ... >> >> my config: >> >> http://pastebin.com/vKZdmTdv >> >> -- >> -- >> * You received this message because you are subscribed to the Google >> Groups "Capistrano" group. >> * To post to this group, send email to [email protected]<javascript:> >> * To unsubscribe from this group, send email to >> [email protected] <javascript:> For more options, visit >> this group at http://groups.google.com/group/capistrano?hl=en >> --- >> 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 [email protected] <javascript:>. >> For more options, visit https://groups.google.com/groups/opt_out. >> > > -- -- * You received this message because you are subscribed to the Google Groups "Capistrano" group. * To post to this group, send email to [email protected] * To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/capistrano?hl=en --- 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 [email protected]. For more options, visit https://groups.google.com/groups/opt_out.
