If you need to use a raster PNG badge, change the '.svg' to '.png' in the link
update rails_template.rb for rails 4.x
remove the "public/index.html" file only if it exist, rails 4.x don't have this file.
relevant lines covered
hits per line