> jruby -v
jruby 1.6.5 (ruby-1.9.2-p136) (2011-10-25 9dcd388) (Java HotSpot(TM) Client VM 1.6.0_29) [darwin-i386-java]
> bundle exec rspec spec/
Warning: coverage data provided by Coverage [40] exceeds number of lines in /Users/dnagir/proj/neo4j/spec/../lib/neo4j/core_ext/class/inheritable_attributes.rb [37]
There is a resolved issue, but it seems to be a different one.
Is there any way to fix it?
I'm getting the same error on a half a dozen files or so. It just started yesterday after I did a gem update. Any ideas ? What do you need from me to diagnose?
Thanks in advance
Hey guys, unfortunately Jruby is not supported as the Coverage library there is not compatible with MRI 1.9's one. Check out #86 for further info.
So do we just have to live with long lists of warnings on JRuby? Is there a way to (safely; that is, specifically this warning only) turn these warnings off, at least? See https://github.com/colszowka/simplecov/issues/86#issuecomment-15880858 (@BrandonMathis) for another report of this. Should I [...] EDIT: just remove that message output when defined?(JRUBY_VERSION) or could that mask real issues?: https://github.com/colszowka/simplecov/blob/03e5124fc4aeb2491ddab84f1e5c14a26f4de593/lib/simplecov/source_file.rb#L90 ? Thanks.
I have the same problem with current jruby 1.7.10
Warning: coverage data provided by Coverage exceeds ...
+1 for same problem jruby 1.7.12
+1 for same problem using ruby 2.1.0p0 (2013-12-25 revision 44422) [x86_64-darwin13.0]
@x-itec @moofish32 This issue was closed on Jan 27, 2012 due to issues with JRuby that persist. See the above referenced issue #86
@timnovinger same points as above, except also
I can confirm that emptying the contents of your coverage folder will fix this problem.
Most helpful comment
I can confirm that emptying the contents of your
coveragefolder will fix this problem.