Bump gem version 2.40.0.dev