bundler command not found
Introduction
When you run more command in linux terminal / console, you get the following error message
bundler: command not found
or when using sudo you get the following error message
sudo: bundler: command not found
Solutions to bundler: command not found
How To Fix bundler: command not found in Ubuntu / Debian / Kali Linux / Raspbian
In Ubuntu bundler is provided by ruby-bundler package.
ruby-bundler is:
Bundler manages a Ruby application’s dependencies through its entire life, across many machines, systematically and repeatably.
This package must be used as dependency for checking application dependencies at runtime.
To fix this problem, we can install more using the command below.
sudo apt-get -y install ruby-bundler
This command might take some time to finish depending on your machine internet connection.
You can also use apt command to install ruby-bundler.
sudo apt -y install ruby-bundler
Or if you have aptitude installed you can use the following command.
sudo aptitude install ruby-bundler
Summary
In this tutorial we learn how to fix bundler command not found error in Ubuntu / Debian / Kali Linux or Raspbian distribution.