Mac Sublime Text compile Source.cpp error //bin/bash: shell_session_update: command not found


  1. get the rvm version
1
Rango-MBP:~ Rango$ rvm -v
  1. make sure the version at least 1.26 above
1
2
Rango-MBP:~ Rango$ rvm -v
rvm 1.27.0 (master) by Wayne E. Seguin <wayneeseguin@gmail.com>, Michal Papis <mpapis@gmail.com> [https://rvm.io/]
  1. then go ahead
1
Rango-MBP:~ Rango$ rvm get head
  1. wait Downloading…
1
2
3
4
5
6
7
8
Downloading https://get.rvm.io
No GPG software exists to validate rvm-installer, skipping.
Downloading https://github.com/rvm/rvm/archive/master.tar.gz

Upgrading the RVM installation in /Users/Rango/.rvm/
    RVM PATH line found in /Users/Rango/.mkshrc /Users/Rango/.profile /Users/Rango/.bashrc /Users/Rango/.zshrc.
    RVM sourcing line found in /Users/Rango/.profile /Users/Rango/.bash_profile /Users/Rango/.zlogin.
Upgrade of RVM in /Users/Rango/.rvm/ is complete.
  1. just work