Bundle: command not found

We have been getting several reports of the following issue:

bash: line 1: bundle: command not found

bundle install returned exit code 127

This is due to the fact that bundle is no longer installed as a default gem with RVM. https://github.com/rvm/rvm/issues/3382

We are considering switching away from RVM, but in the meantime if you need to use bundler please install it with

gem install bundler

I’ve installed bundler using that command and I’m still getting bundler not found.

This resolved the error for me.
dependencies: pre: - echo "export rvm_ignore_gemsets_flag=1" >> ~/.rvmrc - gem install bundler