Not sure why it's not working, but this should also be possible:

```ruby
ENV['COVERAGE'] = 'false' if (Gem::Version.new(RUBY_VERSION) < Gem::Version.new('1.9.3'))
```