If it doesn't fit, and if any part of the bag or wheels protrudes, be aware that Ryanair is still inflexible over hand baggage size and weight, and the cost of getting it wrong remains steep: €50/£50 for putting the oversize bag in the hold (double this if you return with the same bag on the way home).