Run metasploit on an Android error

I'm trying to run metasploit on android using termux.
I already have it installed, but when I try to run the msfconsole command, I get this error:
ruby: No such file or directory – /data/data/com.termux/files/home/metasploit-framework/msfconsole (LoadError)

thank you for the answer