matthew342/simplecov-badge

Badge Cannot Be Generated

Closed this issue · 7 comments

I could be doing something wrong, but I followed the instructions in the README, installed the prerequisites, gems, and added the code to my test_helper.rb file. Here is my output after rake test:
screen shot 2015-01-29 at 2 28 58 pm

Not exactly sure if this is an issue on Homebrew's ImageMagick's or your side, but I would love any help I can get to make it work. Thanks.

Looks like ImageMagick didn't start. Make sure you can run ImageMagick's 'convert' command first.

Yeah it looks like I can run the commands. Is there something in particular I need to run beforehand?
screen shot 2015-01-31 at 7 04 50 pm

What OS are you on? Simplecov-badge is acting like convert is returning a non-zero exit code.

I'm currently running on OS X Yosemite 10.10.2. Could this be a problem with the OS since it was recently updated from 10.10.1?

The issue is the convert exits with a 1, not 0, when no parameters are passed to it.
output = convert returns #<Process::Status: pid 83651 exit 1>

Fix merged - thanks @jreinert!

Please update and push the gem.