fixes #2427 - use RUBY_VERSION for pre-Bundler 1.3 compatibility