Make ruby wait until component is placed by user

This has been discussed before. I remember because I was involved in the discussion and posted several examples. See my old reply here …