ensure it works with all gem versions