magnolia-fan/musicbrainz — pull request #2 by Applicat (2012-04-08 12:36:14+00:00)
Title: Switch from rcov to simplecov

To get the musicbrainz gem running with Ruby 1.9 I replaced rcov by simplecov which is even highly recommended on the github page of rcov.

The coverage reports for rspec and unit tests will be generated with the rake tasks: rspec_coverage, test_coverage

... otherwise bundle install would raise this exception:

Gem::Installer::ExtensionBuildError: ERROR: Failed to build gem native extension.

/Users/mgawlista/.rvm/rubies/ruby-1.9.3-p125/bin/ruby extconf.rb
**** Ruby 1.9 is not supported. Please switch to simplecov ****

Gem files will remain installed in /Users/mgawlista/.rvm/gems/ruby-1.9.3-p125@musicbrainz/gems/rcov-1.0.0 for inspection.
Results logged to /Users/mgawlista/.rvm/gems/ruby-1.9.3-p125@musicbrainz/gems/rcov-1.0.0/ext/rcovrt/gem_make.out
An error occured while installing rcov (1.0.0), and Bundler cannot continue.
Make sure that `gem install rcov -v '1.0.0'` succeeds before bundling.