Joel Neubert shared this tip about using swipe with ruby_lib
swipe startX: 0.0, startY: 0.5, endX: 0.5, endY: 0.5, duration: 500, touchCount: 1, element: element.ref I had to include the duration in ms, and a touchCount: 1
Also, I'm using this for a while and it's working find:
swipe :start_x => 47.0, :end_x => 403.5, :start_y => 238.7, :end_y => 225.3