bundler-version-options.rb command not found

In this troubleshooting guide we learn how to fix bundler-version-options.rb command not found error message

Introduction

When you run more command in linux terminal / console, you get the following error message

bundler-version-options.rb: command not found

or when using sudo you get the following error message

sudo: bundler-version-options.rb: command not found

Solutions to bundler-version-options.rb: command not found

How To Fix bundler-version-options.rb: command not found in Ubuntu / Debian / Kali Linux / Raspbian

In Ubuntu bundler-version-options.rb is provided by ruby-redis-actionpack package.

ruby-redis-actionpack is:

The gem redis-actionpack provides a session store for ActionPack, specifically for ActionDispatch. Redis Store provides a full set of stores (Cache, I18n, Session, HTTP Cache) for modern Ruby frameworks like Ruby on Rails, Sinatra, Rack, Rack::Cache and I18n. It supports object marshalling, timeouts, single or multiple nodes, and namespaces.

To fix this problem, we can install more using the command below.

sudo apt-get -y install ruby-redis-actionpack

This command might take some time to finish depending on your machine internet connection.

You can also use apt command to install ruby-redis-actionpack.

sudo apt -y install ruby-redis-actionpack

Or if you have aptitude installed you can use the following command.

sudo aptitude install ruby-redis-actionpack

Summary

In this tutorial we learn how to fix bundler-version-options.rb command not found error in Ubuntu / Debian / Kali Linux or Raspbian distribution.