fixes gem deprecation warning for cucumber, see #280