Fix ruby check for travis XTC tests