I try command bundle install --local but it show issue:
bundle install --local
-bash: /usr/local/bin/bundle: /usr/local/bin/ruby: bad interpreter: No such file or dir
I think you need to export the path of ruby and bundle in your .bashrc (linux).
Open your .bashrc and add this line:
.bashrc
export PATH="$PATH:/usr/bin:/usr/local/bin/"
It should work.