'LoadError: cannot load such file -- gherkin/formatter/json_formatter , on running command rackup ,ruby version 2.2.0 and cucumber 2.1.0

I am getting LoadError: cannot load such file -- gherkin/formatter/json_formatter , on running command rackup ,

ruby version 2.2.0
cucumber 2.1.0 os :ubuntu 15.4



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source