Good information, thank you for sharing. It's a shame that it hangs without
printing any output, if it would Capistrano would normally print it.

Lee Hambley
http://lee.hambley.name/
+49 (0) 170 298 5667

On 19 October 2015 at 21:39, Moritz Schepp <moritz.sch...@gmail.com> wrote:

> I just had this problem (I'm not using capistrano) and in fact on my dev
> machine it would work nice and quick but on the server it would compile the
> assets and then hang forever. However, after waiting for it to finish,
> doing it a second time is quick and painless. Turns out that
> assets:precompile also does a tmp:cache:clear which only had a lot to clean
> up on the production machine.
>
> On Thursday, April 5, 2012 at 2:43:51 AM UTC+2, Tim Uckun wrote:
>>
>> I have done more digging and it's not a capistrano problem, it's a
>> rails problem For some reason the thing that takes a few seconds on my
>> machine takes more than a half an hour on the server.  I have seen the
>> following recipes on the web which don't work with the current version
>> of capistrano
>>
>> task :precompile do
>>       run_locally ("rake assets:clean && rake assets:precompile")
>>       upload( "public/assets", "#{release_path}/public/assets", :via
>> => :scp, :recursive => true)
>> end
>>
>> This fails because it wants a FILES env variable.
>>
>>  %x{bundle exec rake assets:precompile}
>>       %x{rsync --recursive --times --rsh=ssh --compress --human-
>> readable --progress public/assets #{user}@#{host}:#{shared_path}}
>>       %x{bundle exec rake assets:clean}
>>
>> this fails because it doesn't know what host is.
>>
>> I like the rysnc idea. Can that be made to work. Is there a way to
>> specify "the current host you are deploying to"?
>>
>>
>> --
> 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/7299ee36-d442-46d3-8ce8-1dfa3c253a62%40googlegroups.com
> <https://groups.google.com/d/msgid/capistrano/7299ee36-d442-46d3-8ce8-1dfa3c253a62%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
> For more options, visit https://groups.google.com/d/optout.
>

-- 
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_%2BVLVq09xwsTvx3CgYo6q26TJKxO6PpEYsxu-e-M_z7nuH8g%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to