coveralls command not found
Introduction
When you run more command in linux terminal / console, you get the following error message
coveralls: command not found
or when using sudo you get the following error message
sudo: coveralls: command not found
Solutions to coveralls: command not found
How To Fix coveralls: command not found in Ubuntu / Debian / Kali Linux / Raspbian
In Ubuntu coveralls is provided by ruby-coveralls package.
ruby-coveralls is:
Coveralls is a web service to help you track your code coverage over time, and ensure that all your new code is fully covered.
Coveralls automatically collects your code coverage data, uploads it to their servers and gives you a nice interface to dig into it.
Any type of Ruby project or test framework supported by SimpleCov is supported by the Coveralls gem. This includes all your favorites, like RSpec, Cucumber, and Test::Unit.
This package provides a Ruby gem to interact with Coveralls API.
To fix this problem, we can install more using the command below.
sudo apt-get -y install ruby-coveralls
This command might take some time to finish depending on your machine internet connection.
You can also use apt command to install ruby-coveralls.
sudo apt -y install ruby-coveralls
Or if you have aptitude installed you can use the following command.
sudo aptitude install ruby-coveralls
Summary
In this tutorial we learn how to fix coveralls command not found error in Ubuntu / Debian / Kali Linux or Raspbian distribution.