multiruby_setup command not found
Introduction
When you run more command in linux terminal / console, you get the following error message
multiruby_setup: command not found
or when using sudo you get the following error message
sudo: multiruby_setup: command not found
Solutions to multiruby_setup: command not found
How To Fix multiruby_setup: command not found in Ubuntu / Debian / Kali Linux / Raspbian
In Ubuntu multiruby_setup is provided by ruby-zentest package.
ruby-zentest is:
zentest scans your target and unit-test code and writes your missing code based on simple naming rules, enabling XP at a much quicker pace. zentest only works with Ruby and Minitest or Test::Unit. There is enough evidence to show that this is still proving useful to users, so it stays.
unit_diff is a command-line filter to diff expected results from actual results and allow you to quickly see exactly what is wrong. Do note that minitest 2.2+ provides an enhanced assert_equal obviating the need for unit_diff
autotest is a continuous testing facility meant to be used during development. As soon as you save a file, autotest will run the corresponding dependent tests.
multiruby runs anything you want on multiple versions of ruby. Great for compatibility checking! Use multiruby_setup to manage your installed versions.
To fix this problem, we can install more using the command below.
sudo apt-get -y install ruby-zentest
This command might take some time to finish depending on your machine internet connection.
You can also use apt command to install ruby-zentest.
sudo apt -y install ruby-zentest
Or if you have aptitude installed you can use the following command.
sudo aptitude install ruby-zentest
Summary
In this tutorial we learn how to fix multiruby_setup command not found error in Ubuntu / Debian / Kali Linux or Raspbian distribution.