relaxdiego/redmine_backlogs — Issue #424: Support for Ruby 1.9. Switch from rcov to simplecov
Author: Vanuan
Created: 2012-02-22 19:19:00+00:00
State: open

Redmine 1.4.0 will support ruby1.9. I'm trying to prepare for the switch.
Tried to setup testing environment with ruby1.9.

Alas, rcov doesn't support ruby1.9 anymore:

Installing rcov (1.0.0) with native extensions
Gem::Installer::ExtensionBuildError: ERROR: Failed to build gem native extension.

/usr/bin/ruby1.9.1 extconf.rb
**** Ruby 1.9 is not supported. Please switch to simplecov ****

This should be an easy fix, just use rcov for Ruby 1.8 and simplecov for Ruby 1.9