I think they missed a trick here - earlier in the episode there was a comment about walking away and leaving a shoe behind (one shoe, but never mind...) Given that the trap worked by some sort of molecular bonding, all they needed to do was establish that Ruby was wearing some sort of slip-on...