Eric Guo's blog.cloud-mes.com

Hoping writing JS, Ruby & Rails and Go article, but fallback to DevOps note

Call Brew Install Ruby From Mathematica Wolfram Kernel

Permalink

RegisterExternalEvaluator["Ruby", "/usr/local/opt/ruby/bin/ruby"]
ExternalEvaluate["Ruby", "RUBY_VERSION"]

It’s works even exit in wolfram kernel, for Mathematica in Apple Silicon:

gem install ffi-rzmq
RegisterExternalEvaluator["Ruby", "/opt/homebrew/opt/ruby/bin/ruby"]
ExternalEvaluate["Ruby", "RUBY_VERSION"]

Comments