pod not working

After update my Mac OS Big sur 11.4 my pod not working giving below error, any one can help.

jahangir@Jahangirs-MacBook-Pro New12 % pod init

zsh: /usr/local/bin/pod: bad interpreter: /System/Library/Frameworks/Ruby.framework/Versions/2.3/usr/bin/ruby: no such file or directory

jahangir@Jahangirs-MacBook-Pro New12 % 

First install ruby: See https://rvm.io/rubies/installing

Install Cocoapods: sudo gem install cocoapods

ammarmujeeb$ pod --version

-bash: /usr/local/bin/pod: /System/Library/Frameworks/Ruby.framework/Versions/2.3/usr/bin/ruby: bad interpreter: No such file or directory

ammarmujeeb$ rvm list

=* ruby-2.7.0 [ x86_64 ]

=> - current

=* - current && default

  * - default

ammarmujeeb$ ruby -v

ruby 2.7.0p0 (2019-12-25 revision 647ee6f091) [x86_64-darwin20]

ammarmujeeb$  which ruby

/Users/ammarmujeeb/.rvm/rubies/ruby-2.7.0/bin/ruby

ammarmujeeb$ rvm use ruby-2.7.0

Using /Users/ammarmujeeb/.rvm/gems/ruby-2.7.0

ammarmujeeb$ pod --version

Warning: the running version of Bundler (2.1.2) is older than the version that created the lockfile (2.1.4). We suggest you to upgrade to the version that created the lockfile by running gem install bundler:2.1.4.

1.11.2

ammarmujeeb$ pod install

Warning: the running version of Bundler (2.1.2) is older than the version that created the lockfile (2.1.4). We suggest you to upgrade to the version that created the lockfile by running gem install bundler:2.1.4.

Analyzing dependencies

Downloading dependencies .... Generating Pods project

Integrating client project

Pod installation complete!

pod not working
 
 
Q