Anyone I know who does serious development work never uses the default runtimes anyway. It's always best to just install RVM/rbenv, anaconda etc and configure it yourself.
I can use the bc command instead (it’s an old Unix command) but it’s far less handy. See it’s man page.
There’s also dc, the even less used reverse Polish notation calculator. It is a standard Unix command that predates bc.
The dc “language” is older than the C, Awk, Perl, or any other programming language still found on Unix systems. It is written in C’s predecessor, the language B.
You can tell that bc and dc are early Unix commands from their names, just two characters long.